Questions tagged [apk-expansion-files]

APK Expansion Files include additional data that is required for an Android App if the file size of the App is bigger than 50 MB. It is downloaded and hosted by the Google Play Store.

Google Play currently requires that your APK file be no more than 50MB. If your app exceeds 50MB, Google Play allows you to attach up to two APK expansion files that supplement your APK.

Android Docs

326 questions
7
votes
1 answer

Google Play - How to prevent downloading the large APK Expansion File when the user installs the APP from the market

many of my users have problems to install my App from the Play Store due to a lack of enought internal memory. The size of the App is: APK 37MB + EXPANSION 1,3 GB. I was aware that many users don't want to have such big data in the system memory and…
lx222
  • 248
  • 1
  • 16
6
votes
1 answer

Unable to mount obb file created with JOBB

I'm trying to mount either an encrypted or non-encrypted obb file I created with the JOBB tool using the mountExpansion() method found in this question: Mounting an encrypted obb apk expansion file in Android. What is interesting is that when I try…
ez4nick
  • 9,756
  • 12
  • 37
  • 69
6
votes
1 answer

Android apk expansion file - optional

Can I use main expansion file as optional download option in application? So I don't need download it with APK file but later when user would do it.
Roman Barzyczak
  • 3,785
  • 1
  • 30
  • 44
5
votes
1 answer

How can we access an expansion file in Android Q?

I'm writing an app that needs an expansion file and I want to ensure it will be compatible with Android Q. It seems the documentation provided does not address the changes in Android Q. In Android Q, getExternalStorageDirectory() won't be able to be…
Steve M
  • 9,296
  • 11
  • 49
  • 98
5
votes
3 answers

How to import packages and class files in Library Project

APK size has reached to 105 MB, and i need to create APK Expansion Files. I am following Android Documentation for creating Expansion Files. I have downloaded Google Play APK Expansion Library and Google Play Licencing Library. Now I need to add…
dev90
  • 7,187
  • 15
  • 80
  • 153
5
votes
2 answers

Expansion files at Android 6

On Android 6 devices, we've noticed that expansion files now need that we request the WRITE_EXTERNAL_STORAGE permission at runtime, which allows the user to deny, which doesn't allow us to continue with the app startup. Is there a way to prevent the…
5
votes
0 answers

Reading an encrypted zipped .obb file

I have two files (for example) that I want to put in my apk main expansion file. Let these files be img1.jpg and img2.jpg. I compress them using the following command: zip -n .jpg main.123.in.example.app.obb *.jpg (The version code is 123 and the…
chochim
  • 1,710
  • 5
  • 17
  • 30
5
votes
1 answer

Updating an APK in Google Play without changing the expansion file

I have a "draft" APK in my Google Play console, and it's connected to an APK expansion file. The version code is 9, and the expansion file is "main.9.com.something.something.obb". Now, I'm trying to update the APK before I release. I increased the…
SirKnigget
  • 3,614
  • 2
  • 28
  • 61
5
votes
3 answers

Google Play Expansion File Location

We have a large ~600MB expansion file that we get using the Google Play Expansion APK mechanism. We also have to unzip this file for actual use. The entire app plus data thus requires about 1.4 GB of storage. As far as I can tell Google Play…
btschumy
  • 1,435
  • 1
  • 18
  • 35
5
votes
2 answers

XAPK File Validation Failed - APK Expansion Files

I am using the expansion files demo given in the sdks and am placing the obb file on the SD Card at the following location: /Android/obb/package-name/package-name/main.versioncode.package-name.obb But i get the following error: XAPK File…
user2056563
  • 600
  • 2
  • 12
  • 37
5
votes
2 answers

How to create OBB files USING jobb tool Android

My app has grown to be over 50mb, so I now need to use an expansion file. On searching I came to know that there are different files that can be used as expansion files such as zip, pdf etc. I am trying to put my data in .obb files but I don't know…
User42590
  • 2,473
  • 12
  • 44
  • 85
5
votes
1 answer

How to mount encrypted APK expansion files?

I tried to mount expansion files this way: final StorageManager storageManager = (StorageManager) getSystemService(STORAGE_SERVICE); String obbPath = Environment.getExternalStorageDirectory() + "/Android/obb"; final String obbFilePath =…
uncle Lem
  • 4,954
  • 8
  • 33
  • 53
5
votes
2 answers

Debugging Android app after release

I am working on some fixes to an app already in the store. The app uses an expansion file. I have created a new version of the app and uploaded the apk and the associated expansion file. When I try to run the app from eclipse, the app starts up, but…
user1812655
  • 66
  • 1
  • 2
5
votes
1 answer

Accessing to files inside obb expansion file

I'm following all official expansion files guides, but i can't find it. I'm unable to access the contained obb file i need. I need 6 audio files (80Mb) that i "stored" (uncompressed) in a zip file and renamed as 'main.2001.test.expansion.proj.obb'…
Jordi
  • 616
  • 2
  • 9
  • 16
4
votes
1 answer

How do apps like BattlegroundMobile access to obb without storage permissions?

I've done developing obb function on my game app. To explain the logic of obb function simply, makes a zip file with assets and rename as .obb. uploads it to play store with apk. then it automatically makes an obb file with build version…
Hyeok
  • 43
  • 4
1
2
3
21 22