Proguard的ParseException的未知选项dump.txt [英] Proguard ParseException unknown option dump.txt

查看:396
本文介绍了Proguard的ParseException的未知选项dump.txt的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我读到类似这样的主题无关的帖子很多的,但无论如何不能解决这个问题。
每次我尝试我签名的应用程序启用了混淆出口,我得到以下内容:

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)

我使用谷歌API的版本2.3.3和标准配置,并刚添加的 proguard.config = proguard.cfg 项目。属性。
我用PROGRA〜1中的SDK路径,并试图干净了。

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.

据我所知,在成功运行混淆器生成dump.txt。

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

有人可以给我一个提示?

Can someone give me a hint?

推荐答案

这是因为在项目文件夹路径的空间。有一个重复的问题,这里的Proguard ParseException的Andr​​oid上默认proguard.cfg,答案是一步2,3,4和5接受的答案的。

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.

这篇关于Proguard的ParseException的未知选项dump.txt的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆