C:\Users\I\AndroidStudioProjects\Project\app\src\main\res\mipmap-hdpi\exchange.png Error:Error: com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Users\I\AppData\Local\Android\sdk\build-tools\21.1.2\aapt.exe'' finished with non-zero exit value 42 Error:Execution failed for task ':app:mergeDebugResources'.
C:\Users\I\AndroidStudioProjects\Project\app\src\main\res\mipmap-hdpi\exchange.png: Error: com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Users\I\AppData\Local\Android\sdk\build-tools\21.1.2\aapt.exe'' finished with non-zero exit value 42
This question isn't answered with an accepted answer on stackoverflow My R.java doesn't work to. Does anyone know how to solve these problems. build.gradle:
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildToolsVersion "22.0.0"
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.1.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
}
}