码迷,mamicode.com
首页 > 移动开发 > 详细

ionic app开发遇到的问题

时间:2016-09-02 15:59:43      阅读:225      评论:0      收藏:0      [点我收藏+]

标签:

 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-sdk\build-tools\23.0.1\aapt.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-sdk\build-tools\23.0.1\aapt.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目录中包含了中文名的文件(我这里是图片文件夹内包含了中文名的图片)。

 

解决方法:修改文件名为英文。

ionic app开发遇到的问题

标签:

原文地址:http://www.cnblogs.com/ecstore/p/5833660.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!