Error:Execution failed for task ':app:processDebugResources'.
com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/home/mobi27/opt/AND-Studio/Android/Sdk/build-tools/22.0.1/aapt'' finished with non-zero exit value 1
AAPT: Error: failed writing to '… \app\build\intermediates\runtim_symbol_list\debug\R. txt': … Error log. The cause of this issue is all about the combination of Android Gradle Plugin Version and Gradle Version.
The Android resource linking failed error can also occur if you have an error in any of your XML resources.
Check if you added a resource that violates the conventions. E.g. cannot have capital letters and such.
In my case I got the error as I had modified a drawable resource and Photoshop saved the image with capital filetype (file_name.PNG). Changing the filename to lower-case and rebuilding the project solved the problem.
My solution is: Menu Build -> Clean Project.
I deleted and pasted a picture a while before. The picture has the same problem, so something wrong happened.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With