android - 离子构建失败,“任务':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.
你能帮我找到问题吗?谢谢你
解决方案
推荐阅读
- java - 如何从处理程序类调用活动
- json - 如何使用 TypeScript Angular 从 JSON 文件中仅检索一个对象?
- mysql - 循环不更新表上的值,索引明智
- android - 每次用户想要访问购买的产品时都需要验证收据吗?
- ansible - paloaltonetworks 配置的 ansible 错误
- regex - Safari 的 JS 正则表达式后向/前瞻的解决方法
- sparql - Wikidata Virtuoso SPARQL 端点 - 如何获得超过 100,000 个结果
- r - 在 R 中,如何根据 F 列中的匹配数据从 A 到 E 列返回名称?
- javascript - How to click programmatically a child component? react
- caching - Redis 锁问题