1

When I upload an image and try to run my app, I am getting this errors enter image description here .

Error:Error: com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Users**\AppData\Local\Android\sdk\build-tools\21.0.2\aapt.exe'' finished with non-zero exit value 42. Error:Execution failed for task ':app:mergeDebugResources'.

C:\Users**\AndroidstudioProjects**\app\src\main\res\drawable\page2.png: Error: com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Users**\AppData\Local\Android\sdk\build-tools\21.0.2\aapt.exe'' finished with non-zero exit value 42

What I can do?

thanks

Ron
  • 399
  • 2
  • 6
  • 22
  • 1
    Don't post your exceptions as a link. Especially not as an IMAGE. Post the exception and the relevant code in the question. – Falmarri Mar 30 '15 at 22:39

1 Answers1

1

The answer is here:

Gradle finished with non-zero exit value 1 (ic_launcher.png: error: Duplicate file)

Community
  • 1
  • 1
Ana Llera
  • 1,376
  • 16
  • 32