简体   繁体   中英

Android APK with pre-installed localized data

We have an Android application that supports up to 5 languages. If we were to pre-install a set of data, we would normally add 5 zip files (1 for each language). However, the data has since grown to be 100Mb each. As such, its not possible to package all the 5 zips in the assets folder.

What options do we have to creating a APK with pre-installed data? Is it possible for users to install a extension pack based on their device locale? Or do we have to upload 5 APKs in the Play Store, one for each language.

In documentation, it is given -

Google Play currently requires that your APK file be no more than 100MB . If your app exceeded 100MB, you had to host and download the additional resources yourself when the user opens the app.

Read this about APK Expansion Files .

Also, In this answer, it is given how to make .obb file as .zip file and upload it on Play Store.

OR

You can also make a check on App opens / or ask the user to download the language pack and download it directly from the server .(That would be simpler and easier one).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM