android - what is the difference between -keep class and -dontwarn -


hey i'm new proguard , use protect code reverse engineering , when built signed apk got lot of errors when enabled proguard ,i have googled problem i've found answers says use -dontwarn classes showing in error message after seeing documentation proguard says

if don't feel filtering out problematic classes, can try luck -ignorewarnings option, or -dontwarn option. only use these options if know you're doing though.

and don't know i'm doing , here proguard-rules.pro file

-dontwarn okio.** -dontwarn org.apache.** -dontwarn com.appodeal.** -dontwarn com.parse.** -dontwarn com.squareup.** 

and i've seen answers says use -keep class

so can explain

-keep class preserve specified classes , class members.

-dontwarn don't warn unresolved references @ all.

more info here http://proguard.sourceforge.net/manual/refcard.html


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -