繁体   English   中英

phonegap build fail:任务执行失败':processDebugResources'

[英]phonegap build fail : Execution failed for task ':processDebugResources'

在尝试构建我的应用程序时

phonegap local build android

我有这个问题:

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 '/Users/xxxxxxxx/Library/Android/sdk/build-tools/23.0.2/aapt'' finished with non-zero exit value 1

我不知道如何解决这个问题,因为这个问题主要受到人们在java中开发应用程序的困扰。

提前感谢您的回答

我有同样的问题。 事实证明,我有一些(或错过)一些图标/闪屏图像(即:platforms / android / res / drawable-hdpi等)和其他图像。

您可以从您的platforms / android目录中检查runnning'./gradlew --debug clean build'。 在日志中搜索':processDebugResources FAILED'字符串并在其附近找到导致问题的文件名。 就我而言,它是'añonuevo.png'('ñ'引起了这个问题)

如果这不起作用,看看这些其他SO问题,它们也可能有所帮助:

PS:我使用最新的phonegap(6.3.0)和最新的Android Studio(2.1.2)

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM