I want to configure proguard with my application. But at the same time I get the following problems:
[2013-09-24 12:27:46 - DemoProguard] Proguard returned with error code 1. See console [2013-09-24 12:27:46 - DemoProguard] Warning: com.google.android.gms.internal.bn$b: can't find referenced method 'android.view.Display getDisplay()' in class android.view.View [2013-09-24 12:27:46 - DemoProguard] Warning: com.google.android.gms.internal.bn$b: can't find referenced method 'void removeOnGlobalLayoutListener(android.view.ViewTreeObserver$OnGlobalLayoutListener)' in class android.view.ViewTreeObserver [2013-09-24 12:27:46 - DemoProguard] You should check if you need to specify additional program jars. [2013-09-24 12:27:46 - DemoProguard] Warning: there were 2 unresolved references to program class members. [2013-09-24 12:27:46 - DemoProguard] Your input classes appear to be inconsistent. [2013-09-24 12:27:46 - DemoProguard] You may need to recompile them and try again. [2013-09-24 12:27:46 - DemoProguard] Alternatively, you may have to specify the option [2013-09-24 12:27:46 - DemoProguard] '-dontskipnonpubliclibraryclassmembers'. [2013-09-24 12:27:46 - DemoProguard] java.io.IOException: Please correct the above warnings first. [2013-09-24 12:27:46 - DemoProguard] at proguard.Initializer.execute(Initializer.java:321) [2013-09-24 12:27:46 - DemoProguard] at proguard.ProGuard.initialize(ProGuard.java:211) [2013-09-24 12:27:46 - DemoProguard] at proguard.ProGuard.execute(ProGuard.java:86) [2013-09-24 12:27:46 - DemoProguard] at proguard.ProGuard.main(ProGuard.java:492) [2013-09-24 12:40:50 - DemoProguard] Proguard returned with error code 1. See console [2013-09-24 12:40:50 - DemoProguard] Warning: com.google.android.gms.internal.bn$b: can't find referenced method 'android.view.Display getDisplay()' in class android.view.View [2013-09-24 12:40:50 - DemoProguard] Warning: com.google.android.gms.internal.bn$b: can't find referenced method 'void removeOnGlobalLayoutListener(android.view.ViewTreeObserver$OnGlobalLayoutListener)' in class android.view.ViewTreeObserver [2013-09-24 12:40:50 - DemoProguard] You should check if you need to specify additional program jars. [2013-09-24 12:40:50 - DemoProguard] Warning: there were 2 unresolved references to program class members. [2013-09-24 12:40:50 - DemoProguard] Your input classes appear to be inconsistent. [2013-09-24 12:40:50 - DemoProguard] You may need to recompile them and try again. [2013-09-24 12:40:50 - DemoProguard] Alternatively, you may have to specify the option [2013-09-24 12:40:50 - DemoProguard] '-dontskipnonpubliclibraryclassmembers'. [2013-09-24 12:40:50 - DemoProguard] java.io.IOException: Please correct the above warnings first. [2013-09-24 12:40:50 - DemoProguard] at proguard.Initializer.execute(Initializer.java:321) [2013-09-24 12:40:50 - DemoProguard] at proguard.ProGuard.initialize(ProGuard.java:211) [2013-09-24 12:40:50 - DemoProguard] at proguard.ProGuard.execute(ProGuard.java:86) [2013-09-24 12:40:50 - DemoProguard] at proguard.ProGuard.main(ProGuard.java:492)
Here is my proguard-text file
# To enable ProGuard in your project, edit project.properties
source share