Proguard 错误阻止 APK 构建“返回错误代码为 1 的错误"; [英] Proguard error preventing APK from building with "returned error with error code 1"
问题描述
问题是在尝试构建已签名的 APK 时,它在最后一步出错:
The issue is when trying to build a signed APK, it errors at the last step with this:
[2013-06-20 11:39:34 - MyApp] Proguard 返回错误代码 1.请参阅控制台
[2013-06-20 11:39:34 - MyApp] Proguard returned with error code 1. See console
[2013-06-20 11:39:34 - MyApp] 无法访问 jarfile/Users/rob/Android
[2013-06-20 11:39:34 - MyApp] Unable to access jarfile /Users/rob/Android
我使用的是最新的 Eclipse ADT v22.0.1-685705(今天早上刚安装),据 Google 称,这个问题似乎已经存在至少一个月了.
I am using the latest Eclipse ADT v22.0.1-685705 (just installed this morning) and it seems like this issue has been around for at least a month now according to Google.
推荐答案
为了解决这个问题,
变化:
java -jar $PROGUARD_HOME/lib/proguard.jar "$@"
致:
java -jar "$PROGUARD_HOME/lib/proguard.jar" "$@"
在这个文件中
这篇关于Proguard 错误阻止 APK 构建“返回错误代码为 1 的错误";的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!