Proguard ParseException unknown option dump.txt

天涯浪子 提交于 2019-12-25 03:16:17

问题


I read alot of posts similar to this topic, but cant solve it anyway. Everytime I try to export my signed application with the obfuscator enabled, I get the following:

[2011-12-23 13:26:35 - AppName] Proguard returned with error code 1. See console
[2011-12-23 13:26:35 - AppName] proguard.ParseException: Unknown option 'android\AppName\proguard\dump.txt' in argument number 9
[2011-12-23 13:26:35 - AppName]     at proguard.ConfigurationParser.parse(ConfigurationParser.java:170)
[2011-12-23 13:26:35 - AppName]     at proguard.ProGuard.main(ProGuard.java:491)

I use the Google APIs Version 2.3.3 and the standard configuration and just added the proguard.config=proguard.cfg to the projects.properties. I use "Progra~1" in the SDK path and tried clean already.

As far as I know, the dump.txt is generated in a successfully run of the obfuscator.

Can someone give me a hint?


回答1:


It is because of the space in the project folder path. There is a duplicate question here Proguard ParseException with Default proguard.cfg on Android and the answer is step 2,3,4 and 5 of the accepted answer.



来源:https://stackoverflow.com/questions/8616123/proguard-parseexception-unknown-option-dump-txt

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!