I am using Android Studio on Ubuntu. I started Android Studio, created a "New Project" and started it with Shift+F10
. It threw the following error:
/home/laptop/AndroidStudioProjects/TestIt420/app/build/intermediates/exploded-aar/com.android.support/appcompat-v7/22.0.0/res/drawable-mdpi-v4/abc_btn_radio_to_on_mtrl_000.png
Error:Error: com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/home/laptop/Android/Sdk/build-tools/21.1.2/aapt'' finished with non-zero exit value 127
:app:mergeDebugResources FAILED
FAILURE: Build failed with an exception.
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Information:BUILD FAILED
Also it showed me a PNG file with a circle an a transparent background with file name: abc_btn_radio_to_on_mtrl_000.png
After I just tried running the app again I now have 2 errors instead of one:
/home/laptop/AndroidStudioProjects/TestIt420/app/build/intermediates/explo ded-aar/com.android.support/appcompat-v7/22.0.0/res/drawable-hdpi- v4/abc_ic_ab_back_mtrl_am_alpha.png
Error:Error: com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/home/laptop/Android/Sdk/build-tools/21.1.2/aapt'' finished with non-zero exit value 127
Error:Execution failed for task ':app:mergeDebugResources'.
> /home/laptop/AndroidStudioProjects/TestIt420/app/build/intermediates/explo ded-aar/com.android.support/appcompat-v7/22.0.0/res/drawable-hdpi- v4/abc_ic_ab_back_mtrl_am_alpha.png: Error: com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/home/laptop/Android/Sdk/build-tools/21.1.2/aapt'' finished with non-zero exit value 127
Information:BUILD FAILED
Can you maybe help me in resolving the issue?