首页 > 解决方案 > 离子构建失败,“任务':processDebugResources'执行失败”

问题描述

我正在尝试使用以下方法构建 Ionic 应用程序:

$ ionic cordova build android

我不断收到以下错误:

BUILD FAILED

Total time: 3.964 secs
Error: /Users/Nasser/IonicProjects/baitkum-full/platforms/android/gradlew: Command failed with exit code 1 Error output:
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
/Users/Nasser/IonicProjects/baitkum-full/platforms/android/build/intermediates/manifests/full/debug/AndroidManifest.xml:71:28-52: AAPT: No resource found that matches the given name (at 'value' with value '@string/accountkit_token').

/Users/Nasser/IonicProjects/baitkum-full/platforms/android/build/intermediates/manifests/full/debug/AndroidManifest.xml:69: error: Error: No resource found that matches the given name (at 'value' with value '@string/accountkit_token').



FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':processDebugResources'.
> com.android.ide.common.process.ProcessException: Failed to execute aapt

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
[ERROR] An error occurred while running subprocess cordova.

    cordova build android exited with exit code 1.

    Re-running this command with the --verbose flag may provide more information.

你能帮我找到问题吗?谢谢你

标签: androidcordovaionic-frameworkionic3

解决方案


推荐阅读