I am trying to create an APK file, but when I click Finish in the export dialog, I got an error and the APK is not created. At the moment, nothing can be found on the network, maybe someone can help here? Error:
Proguard returned with error code 1. See console Warning: com.google.ads.util.i: can't find referenced method 'void setMediaPlaybackRequiresUserGesture(boolean)' in class android.webkit.WebSettings You should check if you need to specify additional program jars. Warning: there were 1 unresolved references to program class members. Your input classes appear to be inconsistent. You may need to recompile them and try again. Alternatively, you may have to specify the option '-dontskipnonpubliclibraryclassmembers'. java.io.IOException: Please correct the above warnings first. at proguard.Initializer.execute(Initializer.java:321) at proguard.ProGuard.initialize(ProGuard.java:211) at proguard.ProGuard.execute(ProGuard.java:86) at proguard.ProGuard.main(ProGuard.java:492)
I tried to add
-dontskipnonpubliclibraryclassmembers
but it didnβt help. I use Ads, this is a regular Android application, it works fine in the emulator.
My proguard.config is empty by default
# To enable ProGuard in your project, edit project.properties
And my project.properties:
# This file is automatically generated by Android Tools.
thanks
ps: are these default settings for android proguard safe enough to prevent a basic "hack"? (If I can make it workable)
Zotyi source share