Mở google play

Important: From August 2021, new apps are required khổng lồ publish with the game anhhungxadieu.vn App Bundle on Google Play. New apps larger than 150 MB are now supported by either Play Feature Delivery or Play Asset Delivery.

Bạn đang xem: Mở google play

Google Play requires that the compressed anhhungxadieu.vn that users tải về be no more than 100MB. For most apps, this is plenty of space for all the app"s code and assets. However, some apps need more space for high-fidelity graphics, truyền thông files, or other large assets. Previously, if your app"s compressed download form size exceeded 100MB, you had khổng lồ host and tải về the additional resources yourself when the user opens the app. Hosting và serving the extra files can be costly, và the user experience is often less than ideal. Lớn make this process easier for you và more pleasant for users, Google Play allows you to attach two large expansion files that supplement your APK.

Google Play hosts the expansion files for your app và serves them lớn the device atno cost to you. The expansion files are saved khổng lồ the device"s shared storage location (theSD card or USB-mountable partition; also known as the "external" storage) where your app can accessthem. On most devices, Google Play downloads the expansion file(s) at the same time itdownloads the APK, so your tiện ích has everything it needs when the user opens it for thefirst time. In some cases, however, your phầm mềm must tải về the files from Google Playwhen your phầm mềm starts.

If you"d like to avoid using expansion files and your app"s compressed download form size is larger than 100 MB, you should instead upload your phầm mềm using anhhungxadieu.vn App Bundles which allows for up to a 150 MB compressed download size. Additionally, because using phầm mềm bundles defers apk generation & signing to lớn Google Play, users tải về optimized APKs with only the code và resources they need to lớn run your app. You don"t have lớn build, sign, và manage multiple APKs or expansion files, and users get smaller, more optimized downloads.

Xem thêm: Dê Ăn Lá Ngón - Những Món Ăn Và Vị Thuốc Từ Dê


Each time you upload an app anhhungxadieu.vn using the Google Play Console, you have the option toadd one or two expansion files to lớn the APK. Each tệp tin can be up khổng lồ 2GB và it can be any format youchoose, but we recommend you use a compressed tệp tin to conserve bandwidth during the download.Conceptually, each expansion file plays a different role:

The main expansion file is theprimary expansion file for additional resources required by your app. The patch expansion file is optional and intended for small updates to themain expansion file.

While you can use the two expansion files any way you wish, we recommend that the mainexpansion file deliver the primary assets & should rarely if ever updated; the patch expansionfile should be smaller & serve as a “patch carrier,” getting updated with each majorrelease or as necessary.

However, even if your app update requires only a new patch expansion file, you still mustupload a new app anhhungxadieu.vn with an updated versionCode in the manifest. (ThePlay Console does not allow you lớn upload an expansion file to an existing APK.)

Note: The patch expansion file is semantically the same as themain expansion file—you can use each tệp tin any way you want.

File name format

Each expansion tệp tin you upload can be any format you choose (ZIP, PDF, MP4, etc.). You can alsouse the JOBB tool lớn encapsulate and encrypt a setof resource files and subsequent patches for that set. Regardless of the tệp tin type, Google Playconsiders them opaque binary blobs & renames the files using the following scheme:

...obbThere are three components to this scheme:

main or patch Specifies whether the tệp tin is the main or patch expansion file. There can beonly one main file và one patch file for each APK. This is an integer that matches the version code of the anhhungxadieu.vn with which the expansion isfirst associated (it matches the app"s anhhungxadieu.vn:versionCodevalue).

"First" is emphasized because although the Play Console allows you tore-use an uploaded expansion tệp tin with a new APK, the expansion file"s name does not change—itretains the version applied lớn it when you first uploaded the file.

Your app"s Java-style package name.For example, suppose your app anhhungxadieu.vn version is 314159 & your package name is com.example.app. If youupload a main expansion file, the file is renamed to:


Storage location

When Google Play downloads your expansion files to a device, it saves them to lớn the system"sshared storage location. Lớn ensure proper behavior, you must not delete, move, or rename theexpansion files. In the sự kiện that your ứng dụng must perform the tải về from Google Playitself, you must save the files lớn the exact same location.

The getObbDir() method returns the specific locationfor your expansion files in the following form:

/anhhungxadieu.vn/obb// For each app, there are never more than two expansion files in this directory.One is the main expansion file & the other is the patch expansion file (if necessary). Previousversions are overwritten when you update your ứng dụng with new expansion files. Since anhhungxadieu.vn4.4 (API cấp độ 19), apps can read OBB expansion files without external storagepermission. However, some implementations of anhhungxadieu.vn 6.0 (API màn chơi 23) và later still require permission, so you will need to declare the READ_EXTERNAL_STORAGE permission in the ứng dụng manifest and ask for permission at runtime as follows:

For app anhhungxadieu.vn version 6 and later, external storage permission needs to be requested at runtime. However, some implementations of apk do not require permission to lớn read OBB files. The following code snippet shows how to kiểm tra for read access before asking for external storage permission:

Win79 - Game Bài Đẳng Cấp Vượt Thời Đại