Reputation: 522
I have an android studio based project.To reduce the resource I have used the
android {
buildTypes {
release {
shrinkResources true
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'),
'proguard-rules.pro'
}
}
}
It's working properly, The unused resources are removed from the built apk.
Now I want to build the same project using Android.mk file from the AOSP build.
Is it possible to use minifyenabled = true
and other options in Android.MK or any replacement for that?
Any help will be appreciated.
Upvotes: 1
Views: 330