buildTypes { release { minifyEnabled true shrinkResources = true proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rule ...
buildTypes { release { minifyEnabled true shrinkResources = true proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rule ...
I'm using the GeoNames Java Client to autocomplete place names in an Android app: the user types some characters and a list of suggestions appears. Th ...
I have some library modules in my application and there are a lot of resources that are unused. But they did not remove in release build. minifyEnabl ...
I'm trying to reduce the APK size. So as suggested by Google I used shrinkResources and it requires minifyEnabled to be true in bulid.gradle But th ...
As the title states, is there a way to know what resources was deleted by shrinkResources? Thanks in advance :) ...
I am preparing to release an App to production. So, I generated signed apk. After generating signed apk, I was getting a problem. My apk file size is ...
I am getting this error because I tried to reduce my apk size by referring this document Execution failed for task ':app:transformClassesWithAndr ...
I need to use shrinkMode(strict). I created a file keep.xml in category res/raw/keep.xml: This does not work. But I don't know what to do next. ...
I almost completed a project in Android Studio that included OpenCV library, I imported the library by creating a new folder "jniLibs" under app/src/m ...
I have an mp3 and an ogg file in my res/raw folder which I used with Android Media Player. I used setDataSource like so This works fine when runnin ...
When setting minifyEnabled true in my gradle I get a NullPointerException when starting my app: While reading through StackOverflow I found some s ...
I have a project which contains a lot of drawables, which are named starting with "a" or "b" (For example a1_back, a2_back, b1_start, b2_start and man ...
Clicks not working in release apk after proguard I can deploy app to emulator or even real android smartphone and everything works fine but when I cr ...
In android studio's build.gradle file,we can use shrinkresources set to true to shrinkify our app.Also can use minifyenabled and proguard options as w ...
actually I am trying to use shrinkResources in my android project, now I have added below lines in my gradle file: Now when I try to run my app, it ...
I'm setting shrinkResources to true as follows: But this is removing only a few unused resources. I am aware that gradle does some guessing and lea ...
My crash report is a little bit useless if I use Proguard (minifyEnabled true and shrinkResources true) This is the report with Proguard: And this ...
I activated the resouce shrinking in my build.gradle but now my embeded wearable app is stripped out. How can I avoid that my micro app is removed, be ...
I am trying out the new feature from the build-plugin - unfortunately it removes my sounds from res/raw even though they are referenced in the code. I ...