gpt4 book ai didi

android - ionic - 错误 : resource directory 'C:\Windows\System32\myApp\platforms\android\CordovaLib\build\intermediates\bundles\debug\res' does not exist

转载 作者:行者123 更新时间:2023-11-29 01:14:06 25 4
gpt4 key购买 nike

我正在尝试在 Android 设备中运行 Ionic 应用程序。我已将 Android 添加为平台,但在尝试构建时出现错误。

Error: cmd: Command failed with exit code 1 Error output:
ERROR: resource directory 'C:\Windows\System32\myApp\platforms\android\CordovaLib\build\intermediates\bundles\debug\res' does not exist

FAILURE: Build failed with an exception.

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

“res”文件夹在给定的位置,但错误日志表明并非如此。

更多信息和日志请见附件。

有人可以帮我解决这个问题吗?提前致谢。

enter image description here enter image description here

最佳答案

试试这个:

你可以通过安装Android SDK Platform 24和Android来解决这个问题SDK 平台 23 和 Android 23 的源代码。

关于android - ionic - 错误 : resource directory 'C:\Windows\System32\myApp\platforms\android\CordovaLib\build\intermediates\bundles\debug\res' does not exist,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40925245/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com