I'm unable to set my MainActivity background from a drawable image:
android:background="@drawable/loli"
loli
is my drawable name. Actually nothing special, just the usual to get a simple background. When I use it my xml, I'm getting this error while running:
Error:Error: com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/home/firas/Android/Sdk/build-tools/19.1.0/aapt'' finished with non-zero exit value 42
:app:mergeDebugResources FAILED
Error:Execution failed for task ':app:mergeDebugResources'.
> /home/firas/AndroidStudioProjects/NeverLost/app/src/main/res/drawable/back.png: Error: com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/home/firas/Android/Sdk/build-tools/19.1.0/aapt'' finished with non-zero exit value 42