Proguard:Proguard.ParseException

时间:2014-11-24 22:15:35

标签: android proguard obfuscation

当我收到此错误时,我正在尝试使用proguard导出我的Android应用程序: -

 Proguard returned with error code 1. See console
 proguard.ParseException: Expecting java type before ' ' in line 79 of file 'C:\Documents and Settings\Acer.ACER-2487AA0235\My Documents\Eclipse\Myproject\proguard-project.txt',
included from argument number 4
at proguard.ConfigurationParser.checkJavaIdentifier(ConfigurationParser.java:1187)
at proguard.ConfigurationParser.parseMemberSpecificationArguments(ConfigurationParser.java:842)
at proguard.ConfigurationParser.parseClassSpecificationArguments(ConfigurationParser.java:697)
at proguard.ConfigurationParser.parseKeepClassSpecificationArguments(ConfigurationParser.java:490)
at proguard.ConfigurationParser.parse(ConfigurationParser.java:139)
at proguard.ProGuard.main(ProGuard.java:484)

来自proguard-project.txt的第77-80行: -

-keepclassmembers class * 
{ 
 @android.webkit.JavascriptInterface <methods>;
}

知道我做错了吗?

1 个答案:

答案 0 :(得分:0)

max-width