android - how to reduce app size increased after admob ads? -
Help me as soon as possible My app is now complete. I tried to read about Progord but unable to understand, please let me step by step tutorial to reduce the app size. You do not need to edit the Google-play-services.jar file. The following lines in use ProGuard only need to keep the class files Create proguard.txt file in your module directory (eg apps /) and writes that file :. Now the rows of build.gradle file its modules (such as application / for build.gradle), type the following: < / p> <> Sync your gradle file and create & amp; Run your app Now see the difference in the size of your app.
Keep public category com.google.android.gms.ads. ** {Public *; } - public-class com.google.ads. ** {Public *; .} -dontwarn com.google.android.gms **
... buildTypes {{debug minifyEnabled really proguardFiles getDefaultProguardFile ( 'ProGuard-android.txt'), 'proguard.txt'} {release minifyEnabled really proguardFiles getDefaultProguardFile ( 'ProGuard-android.txt' ), 'ProGuard .txt'} ...} ...
Comments
Post a Comment