Proguard Error: Unknown option '(' in argument number 12

时光总嘲笑我的痴心妄想 提交于 2019-12-11 03:34:09

问题


I can't export my project with proguard, I get this error and out of solutions.. I don't know where is this argument number 12 ...

[2013-05-14 17:38:39 - LiveWallpaper] Proguard returned with error code 1. See console
[2013-05-14 17:38:39 - LiveWallpaper] Error: Unknown option '(' in argument number 12

my project.properties:

# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
proguard.config=proguard.cfg

# Project target.
target=android-13

and my proguard.cfg is empty.

Thanks!


回答1:


Ok so I found the solution using Proguard ParseException with Default proguard.cfg on Android

My problem was the my workplace directory folder name was with a "(" character .. so I moved it to another directory without whitespaces or "(" and it solved it.



来源:https://stackoverflow.com/questions/16546191/proguard-error-unknown-option-in-argument-number-12

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