S
S
Shohrukh Alimov2019-02-16 17:29:17
Android
Shohrukh Alimov, 2019-02-16 17:29:17

How to reduce the size (bundle/apk size) with the Yandex Maps library?

5c681d082347c525502798.png
Gradle loads Yandex Maps libraries for the entire Android architecture and this increases the APK size. Is it possible to bind only one of them for the whole application?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Denis Zagaevsky, 2019-02-16
@AlimNinja

Need
1) Collect Split APK .
2) Use only what you need . It is unlikely that you are using all the features of the library right now, including routes, search, geocoding, and so on.

I
illuzor, 2019-02-16
@iLLuzor

Do you understand how gangs work?
The final apk for a specific device will contain resources only for this device, including libraries only for its architecture.
android-app-bundles.jpg

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question