For 2 days I tried to get pure android activity to compile on intellij idea ultimate on Ubuntu 14.04 64-bit. This error really puzzled me:
Error:Gradle: Execution failed for task ':app:mergeDebugResources'. > /home/guarddog/Documents/github/IcsTrac/app/build/intermediates/exploded-aar/com.android.support/appcompat-v7/22.2.1/res/drawable-ldrtl-hdpi/abc_ic_ab_back_mtrl_am_alpha.png: Error: com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/usr/local/android-sdk-linux/build-tools/22.0.1/aapt'' finished with non-zero exit value 127
Note. I have Java 8, Gradle 2.5 and / usr / local / android -sdk-linux / tools in my $ PATH.
I tried the tip here: Gradle Build Error in Android Studio . But the error still occurs. How can I solve this problem?
source share