所以,我TRYING释放一些软件,但Proguard的是让我头疼。
当我尝试使用proguard导出时,收到很多警告,即“找不到引用的类”
例如:
[2011-08-07 17:44:37 - GAME] Warning: org.simpleframework.xml.stream.StreamReader: can't find referenced class javax.xml.stream.events.XMLEvent
[2011-08-07 17:44:37 - GAME] Warning: there were 52 unresolved references to classes or interfaces.
[2011-08-07 17:44:37 - GAME] You may need to specify additional library jars (using '-libraryjars'),
[2011-08-07 17:44:37 - GAME] or perhaps the '-dontskipnonpubliclibraryclasses' option.
[2011-08-07 17:44:37 - GAME] java.io.IOException: Please correct the above warnings first.
[
这些警告似乎与simpleframework有关,因此在我的proguard配置文件中添加了以下内容:
-libraryjars pathtoprojecttolibs\simple-xml-2.4.jar
pathtoprojecttolibs
我的项目引用的jar的路径在哪里。
这没有区别。
如果simpleframework引用javax,我也可以告诉proguard也忽略它吗?
有任何想法吗?