在project.properties里面已经开启了混淆proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
proguard-project.txt里面添加了下面几行:-keep public class cn.waps.** {*;}
-keep public interface cn.waps.** {*;}最后还是会被代码混淆,什么原因??
[2013-08-05 12:21:21 - Main] Proguard returned with error code 1. See console
[2013-08-05 12:21:21 - Main] Warning: cn.waps.AdView: can't find referenced method 'void enablePlatformNotifications()' in class android.webkit.WebView
[2013-08-05 12:21:21 - Main] Warning: cn.waps.OffersWebView: can't find referenced method 'void enablePlatformNotifications()' in class android.webkit.WebView
[2013-08-05 12:21:21 - Main] Warning: there were 2 unresolved references to program class members.
[2013-08-05 12:21:21 - Main]          Your input classes appear to be inconsistent.
[2013-08-05 12:21:21 - Main]          You may need to recompile them and try again.
[2013-08-05 12:21:21 - Main]          Alternatively, you may have to specify the option 
[2013-08-05 12:21:21 - Main]          '-dontskipnonpubliclibraryclassmembers'.
[2013-08-05 12:21:21 - Main] java.io.IOException: Please correct the above warnings first.
[2013-08-05 12:21:21 - Main]  at proguard.Initializer.execute(Initializer.java:321)
[2013-08-05 12:21:21 - Main]  at proguard.ProGuard.initialize(ProGuard.java:211)
[2013-08-05 12:21:21 - Main]  at proguard.ProGuard.execute(ProGuard.java:86)
[2013-08-05 12:21:21 - Main]  at proguard.ProGuard.main(ProGuard.java:492)