Tuesday, August 4, 2015

Gradle 21 missing packages on Fedora 22

When I tried to build a project under Fedora 22, with Gnome 16.2, in Android Studio 1.3, I got the
following error:

Error:org.gradle.process.internal.ExecException: A problem occurred starting process 'command '~/android-sdk-linux/build-tools/21.1.2/aapt'' :app:mergeDebugResources FAILED Error:Execution failed for task ':app:mergeDebugResources'.

the solution was to install the 32-bit (i686) version of libstdc++:

$ sudo dnf install libstdc++.i686

then, I got another error from Gradle complaining about missing libz.

the soultion was to install the 32-bit (i686) version of it under Fedora (rpm)

$ sudo dnf install zlib.i686

And that is all, you should now have your Gradle working good.
Post a Comment