2012年6月3日 星期日

Android ProGuard問題


試了 ProGuard 果然遇到問題.

主要的訊息如下:
Proguard returned with error code 1. See console
there were 1290 duplicate class definitions.


google 了一陣子,總算查到解法,主要是在proguard.cfg內加上一行:

-ignorewarnings

就ok了.

另外製作出的apk檔果然小了好多,更方便下載.