开发者

Proguard Parse Exception Error

开发者 https://www.devze.com 2023-03-25 10:27 出处:网络
Having a problem getting proguard to work. If I try to export an unsigned application the output console throws the following error on

Having a problem getting proguard to work.

If I try to export an unsigned application the output console throws the following error on windows when using eclipse and the latest ADT.

Proguard returned with error code 1. See console
proguard.ParseException: Expecting class path separator ';' before 'C:\Users\wolf\workspace\Dcon\lib\joda-time-1.6.2.jar' in argument number 4
at proguard.ConfigurationParser.parseClassPathArgument(ConfigurationParser.java:295)
at proguard.ConfigurationParser.parse(ConfigurationParser.java:109)
at pr开发者_如何学Pythonoguard.ProGuard.main(ProGuard.java:491)

I have done some searching and have found that normally this error comes up when you have a space in the file path, but as you can see their is no space in the path.

Anyone have any ideas?


In my case, I have other solve.

The Proguard official said that reason is your library path contain space.

But I found My library path contain "(" or ")" also cause this dxxn problem.

I am using sdk r12 and ProGuard 4.6.

Hope help.


Okay found answer on my own. Updating here for others.

Seems it is a problem with the proguard that ships with the adk12.

Link has more details. http://code.google.com/p/android/issues/detail?id=18359

Upgraded to proguard 4.6 and it suddenly started working. Do NOT change the bat file as suggested that just confused things worse.

Also ended up updating the environment variable PROGUARD manually.

So not sure what exactly fixed the problem but it now works.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号