离子生成失败,显示“任务':processDebugResources'执行失败”

时间:2018-11-06 16:47:24

标签: android cordova ionic-framework ionic3

我正在尝试使用以下方法构建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.

能帮我找到问题吗? 谢谢

0 个答案:

没有答案