I have used Premium Android SDK of HERE Maps API and implemented demo app. But my application size is 65 MB.
Also I have enabled shrinkResources
in app build.gradle
file as follows, but this didn't work for me.
android {
// Other settings
buildTypes {
release {
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
So, my question is how can we reduce APK size used in Android SDK on HERE Maps API.
Summary: There are some fonts you can try deleting (developer.here.com/documentation/android-premium/dev_guide/…) however the Premium SDK is about 50-60 Mb in the end and you might not be able to bring it down further. If a light weight application is required you might consider using the HERE SDK Lite (with limited features of course)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With