APK size is huge, I looked and Arcgis SDK 100.7 has a library libruntimecore over 60 Megabytes

504
3
Jump to solution
06-14-2021 08:36 PM
JOrtegaT
New Contributor

Hi folks,

We are using the Android Runtime SDK 100.7.

When compiled, the apk is huge!, analyzing the file, there's a library libruntimecore with size over 60 megabytes.

This is a native android app btw.

Any idea why is that happening

Tags (4)
0 Kudos
1 Solution

Accepted Solutions
MarkBaird
Esri Regular Contributor

If you configure your build script so it targets the intended architecture which is likely to be ARM you can reduce this quite a lot.  I can see you are including x86 (used for emulators), ARM 32bit and ARM 64bit.

Read this article https://developers.arcgis.com/android/license-and-deployment/reducing-your-apk-size/ and you'll get a better idea of what you need to do.

View solution in original post

0 Kudos
3 Replies
MarkBaird
Esri Regular Contributor

If you configure your build script so it targets the intended architecture which is likely to be ARM you can reduce this quite a lot.  I can see you are including x86 (used for emulators), ARM 32bit and ARM 64bit.

Read this article https://developers.arcgis.com/android/license-and-deployment/reducing-your-apk-size/ and you'll get a better idea of what you need to do.

View solution in original post

0 Kudos
JOrtegaT
New Contributor

Yeah, It reduced the size a lot. Thanks

0 Kudos
AleksandrGorshkov
New Contributor II

Yep, the previous advice is correct. In addition, highly recommend you to compare the apk version with ArcGIS SDK and without it. You can easily do it with Android Studio

0 Kudos