本文介绍了Proguard的错误:未知的选项'('的说法号12的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法导出我的项目使用ProGuard,我得到这个错误,并制定解决方案的..
我不知道这是哪里参数编号12 ...

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

我project.properties:

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

和我proguard.cfg是空的。

and my proguard.cfg is empty.

谢谢!

推荐答案

好了,所以我发现使用该解决方案
Proguard ParseException的Andr​​oid上默认proguard.cfg

Ok so I found the solution usingProguard 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.

这篇关于Proguard的错误:未知的选项'('的说法号12的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-17 05:10
查看更多