Proguard的错误preventing APK从&QUOT建设;返回的错误,错误code 1 QUOT; [英] 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年6月20日11时39分34秒 - MyApp的] Proguard的错误code返回1.见控制台
[2013-06-20 11:39:34 - MyApp] Proguard returned with error code 1. See console
[2013年6月20日11时39分34秒 - MyApp的]无法访问jar文件/用户/抢劫/ Android版
[2013-06-20 11:39:34 - MyApp] Unable to access jarfile /Users/rob/Android
我使用的是最新的Eclipse ADT v22.0.1-685705(刚安装了此上午),它看起来像这个问题已经存在了至少一个月,现在根据谷歌。
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" "$@"
在此文件< Android SDK中的位置在这里和GT; /sdk/tools/proguard/bin/proguard.sh
<一个href=\"https://$c$c.google.com/p/android/issues/detail?can=2&start=0&num=100&q=&colspec=ID%20Type%20Status%20Owner%20Summary%20Stars&groupby=&sort=&id=55402\">Credit这里
这篇关于Proguard的错误preventing APK从&QUOT建设;返回的错误,错误code 1 QUOT;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!