面对错误whild建立离子应用程序

时间:2017-02-02 06:05:30

标签: angularjs ionic-framework

我在构建离子安卓应用时面临以下错误:

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\Fateh Jagdeo\AppData\Local\Android\android-sdk\build-tools\25.0.2\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:\xampp\htdocs\ionic\coupon\platforms\android\gradlew cdvBuildDebug -b D:\xampp\htdocs\ionic\coupon\platforms\android\build.gradle -Dorg.gradle.daemon=true -Pandroid.useDeprecatedNdk=true"

1 个答案:

答案 0 :(得分:0)

我正在经历同样的问题,为了解决它我所做的只是删除了我的cordova库并再次添加它。使用

cordova平台删除android

然后

cordova平台添加android