github_35026575
github_35026575
2016-06-30 11:31

ionic 打包 安卓出的问题

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':processDebugResources'.

    com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Users\���Ʊ�\AppData\Local\Android\android-sdk\build-tools\23.0.3\aapt.exe'' finished with non-zero exit value 1

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
    Error: Error code 1 for command: cmd with args: /s,/c,"D:\woaoo\woaoo\platforms\android\gradlew cdvBuildDebug -b D:\woaoo\woaoo\platforms\android\build.gradle -Dorg.gradle.daemon=true -Pandroid.useDeprecatedNdk=true"

我查的有人说是因为网速问题,虽然公司网速不是太好,但是300k/s 还是可以的。
还有一种说法是吧c盘下用户/用户名/.gradle/文件夹删除,然后运行ionic build andro
就可以但是我删除了好几遍了 还是一直出现这个问题 求大神解答图片说明
图片说明

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

2条回答