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
2
votes
1 answer

Playing sound files from expansion file

I have an expansion file with a series of sound files. The longer ones are .mp3 files while the shorter sound effects are .wav files. I pack them in a .zip file with no compression. I use the Zip File reader and downloader library provided by…
DeeV
  • 35,865
  • 9
  • 108
  • 95
1
vote
2 answers

Android Expansion File Downloder - Write Permission?

My Android Expansion File Downloder is not working. I found out, that the problem occurs in the original DownloadThread.java I have verified that that external media is mounted. The passed data is correct: byte[] data contains bytesRead = 4096…
thpitsch
  • 2,016
  • 2
  • 21
  • 27
1
vote
0 answers

Android Studio: The device already has an application with the same package but a different signature

I have an app, which I also have in the Google Playstore. I built this app on an old machine at the time and signed it there as well. Since I need to update the app, I pulled the code from my repo to my new machine (different Android Studio…
1
vote
1 answer

Is there a way to make an android app not to update app bundle parts if these parts are unchanged between versions?

I want to migrate my android app (~40 MB of the base apk) that uses an .obb file (~70 MB) to the Android App Bundle format. I know for sure that the resources inside the .obb file will be updated less frequently than the base part. Therefore, there…
1
vote
0 answers

Android - Can I add libs , apk or code into expansion files? (obb)

My APK code is 10 MB, resources about another 10MB. However I need to use two big libs that increases the app size to over 130 MB. My first idea was to use expansion files but documentation is pretty ambiguous and always talks about…
htafoya
  • 18,261
  • 11
  • 80
  • 104
1
vote
1 answer

Cannot reach obb expansion file on android 10 device if apk and obb is downloaded from Google Play store

I looked for solutions from many places (Test programmatically if in Android 10+ the legacy external storage access is disabled, https://developer.android.com/google/play/expansion-files.html#Downloading, etc.), but don't know the exact cause of the…
Zeghra
  • 447
  • 5
  • 14
1
vote
1 answer

Is it possible to take *.so libraries off to expansion files?

I faced the task of reducing the size of .apk file of my android app. My apk size is more then 100MB now and tentatively it will grow. So I consider android app bundle as a temporary solution. .so libraries take the most space in apk and I'd like…
Nikolai
  • 656
  • 6
  • 19
1
vote
0 answers

is it possible to make ionic android platform open into android studio and make expansion APK

I need to compress my ionic android platform assets folder. I already used a plugin for the APK expansion but the APK is working very slow with the plugin this is the new plugin which I am facing slow/stuck in the APK …
Nayan Dubey
  • 109
  • 10
1
vote
0 answers

Expansion Android Apk working very slow whenever downloading first time

Currently, I am using this plugin https://github.com/erobertson42/cordova-plugin-xapkreader/tree/cordova-9 I am using this path to show the image - 'content://com.x.x/main_expansion/assets/dummy.png'; and to make image path safe I am using…
Nayan Dubey
  • 109
  • 10
1
vote
0 answers

Android - Cannot create a new library module for the License Verification Library and Downloader Library

I am configuring the Apk Expansion Files follow this link https://developer.android.com/google/play/expansion-files 5. Select the Properties tab and in Library Repository, enter the library from the /extras/google/ directory (play_licensing/ for the…
1
vote
1 answer

Is there a way to manually create the package folder for an APK's .obb file?

I'm having an issue with an app: (rarely) a user will download the app from the play store but the obb/expansion file will fail to download. If the folder for the obb file is created (Android/obb/my.package.name), that's fine, I can manually…
Alex Meuer
  • 1,621
  • 3
  • 26
  • 37
1
vote
1 answer

APEZProvider RuntimeException for videos on Huawei devices

I'm using the APK expansion file in my application with the APEZProvider. This works on every device except Huawei devices. If the user wants to open a video it always comes to a RuntimeException and the video can't be played. It happens on all…
1
vote
1 answer

Apk Expansion file is not downloaded through emulator

My app is uploaded to play store, it has an APK expansion file. Tested in real devices and working OK. Some times I get crash reports and I want to simulate them in the emulator. I get this message" Download failed because the resources could not…
1
vote
1 answer

Android MapBox cannot load map from OOB (APK expansion) file

I have offline map from MapBox, when i load the map from assets folder all work fine "sources": { "mapbox": { "tiles": [ "asset://mapparis/{z}/{x}/{y}.pbf" ], "type": "vector" } } But when i load the map…
Pavel Poley
  • 5,307
  • 4
  • 35
  • 66
1
vote
1 answer

APK Expansion File Download shows various progress on validation

I've connected my application with an APK Expansion File. After a lot of problems I can finally download my video resources. Now I've noticed the next issue. The displaying progress for the XAPK validation is always different and random. The file…
Deno Agüero
  • 519
  • 2
  • 9
  • 27