我有Proguard的问题和使用外部库.我的项目编译没有错误,并在真实设备上成功运行,但只有当我从Eclipse运行它时.现在我想制作一个混淆版本,所以我做了以下内容:运行"android update project -p ./"添加
proguard.dir=/home/stoned/android-sdk-linux_86/proguard4.5.1/lib
proguard.config=/home/stoned/workspace/Fidoo/proguard.cfg
Run Code Online (Sandbox Code Playgroud)
当我运行"ant release"时,我得到以下内容:
... skipped many irrelevant messages ...
-obfuscate:
[mkdir] Created dir: /home/stoned/workspace/Fidoo/bin/proguard
[jar] Building jar: /home/stoned/workspace/Fidoo/bin/proguard/original.jar
[proguard] ProGuard, version 4.4
[proguard] ProGuard is released under the GNU General Public License. The authors of all
[proguard] programs or plugins that link to it (com.android.ant, ...) therefore
[proguard] must ensure that these programs carry the GNU General Public License as well.
[proguard] Reading input...
[proguard] Reading program jar [/home/stoned/workspace/Fidoo/bin/proguard/original.jar]
[proguard] Reading program jar [/home/stoned/workspace/Fidoo/libs/exapi-1.16.jar] …Run Code Online (Sandbox Code Playgroud)