1 :processDebugResources 2 FAILED 3 4 5 FAILURE: Build failed with an exception. 6 7 * What went wrong: 8 Execution failed for task ':processDebugResources'. 9 > com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'D:android-sdkuild-tools23.0.1aapt.exe'' finished with non-zero exit value 1 10 11 * Try: 12 Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. 13 14 15 BUILD FAILED 16 17 Total time: 1.72 secs 18 19 Error: cmd: Command failed with exit code 1 Error output: 20 FAILURE: Build failed with an exception. 21 22 * What went wrong: 23 Execution failed for task ':processDebugResources'. 24 > com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'D:android-sdkuild-tools23.0.1aapt.exe'' finished with non-zero exit value 1 25 26 * Try: 27 Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
上面是打包app时候出现问题记录;
问题原因是www目录中包含了中文名的文件(我这里是图片文件夹内包含了中文名的图片)。
解决方法:修改文件名为英文。