zoukankan      html  css  js  c++  java
  • ionic app开发遇到的问题

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

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

  • 相关阅读:
    Xcode And iOS9新特性
    AutoLayout
    本地化
    Map
    iOS多线程编程
    第三方抽屉效果
    iPad编程
    CoreData / MagicalRecord
    js清除单选框所选的值
    js获取背景颜色
  • 原文地址:https://www.cnblogs.com/ecstore/p/5833660.html
Copyright © 2011-2022 走看看