-1

How can I solve this error:

> Error:Execution failed for task ':app:processDebugResources'. >
> com.android.ide.common.process.ProcessException:
> org.gradle.process.internal.ExecException: Process 'command
> 'C:\dev\sdk\android-sdk-essential\build-tools\24.0.1\aapt.exe''
> finished with non-zero exit value 1

2 Answers2

0

Try to do build apk first then afterwards it will work properly.

Ashish
  • 183
  • 9
0

It solved! I found a hint in this link. so I commented useless repositories such as:

//    compile 'com.google.android.gms:play-services-ads:11.0.4'
//    compile 'com.google.android.gms:play-services-auth:11.0.4'
//    compile 'com.google.android.gms:play-services-gcm:11.0.4'