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

Cocos2d-X Loading OBB / Expansion Files

My Cocos2d-X game is larger than 50 Mo so as I read on the Android documentation I have to use expansion files. I followed this subject: Android OBB/ZIP loading (cocos2dx) So I modified Cocos2dxHelper.java and placed my OBB file (a renamed Zip file)…
TheArsenik
  • 98
  • 2
  • 8
2
votes
0 answers

Expension file downloading shows finished download but no file downloaded in android

i am using APK Expension in android. i host my video.zip on google play as a draft. and i am using same step defined on google play for uploading app. Now when i want to download expension file , firstly it shows Looking for url to download then…
Deepak Kumar
  • 295
  • 5
  • 17
2
votes
3 answers

How to create .obb file as main apk expansion file using jobb tool?

I have an apk of 80Mb and so am not able to upload it on google play store. I have googled a lot and found that I have to create .obb file as the main expansion file. Also I have found that I can create a .obb file using the jobb tool which is…
Sanket Kachhela
  • 10,861
  • 8
  • 50
  • 75
2
votes
0 answers

writable mount encrypted obb with StorageManager in Android

I need to mount an obb encrypted file writable. Mounting an encrypted obb works just fine but is always readable, so i can't delete files or modify them getApplication().getSM().mountObb(mExpansionFile.getAbsolutePath(), …
2
votes
4 answers

Expansion file - can't load .obb from /sdcard/Android/obb/ on Android 4.2

I'm developping the obb integration for the "expansion files". I made it worked in local by copying the .obb file on the sdcard of the device (4.1) but on my 4.2 devices it is not working anymore. 1) On 4.1 tablet: it's working well. I pushed my…
2
votes
2 answers

Could not read/access the video files inside APK Expansion (.obb) file. It throws nullpointerexception

Have been trying to read the videos from my apk expansion (.obb file) but it doesn't seem to work. Have followed each steps mentioned in the official android docs. I'm using the sample-app (Sample downloader app in…
epiphany27
  • 517
  • 1
  • 10
  • 23
2
votes
4 answers

How to generate expansion files in android?

I have project which is more than 50MB. I have some images and videos in raw folder. How can i generate the expansion file? i have gone through the developer document, but its not clear for me.Its confusing. Can anybody help me in this. should i…
user1903270
  • 77
  • 3
  • 14
2
votes
2 answers

Android expansion file creation ZIP or JOBB?

I am creating the expansion file for my apk which exceeds 100mb size. how should i create an expansion archive using JOBB from sdk or default windows archive file.. and any working sample project link will also be appreciated..
Jitendra
  • 1,107
  • 2
  • 12
  • 22
2
votes
1 answer

Setting up APK Expansion files for update releases

I need some clarification on using APK Expansion files. I have tested and will be releasing my Android app using APK Expansion files for the first time. My app versionCode is 61 My main expansion file is main.61.com.my.package.obb There is no patch…
user899352
  • 133
  • 1
  • 6
2
votes
1 answer

Using expansion patch in devices that don't have external storage

I'm developing an Android app that has more than the 50mb apk limit. Therefore, I need to use expansion files. I've correctly implemented the solution for reading resources from the extension patch, but I have a problem with devices that do not have…
Guilherme Gusman
  • 556
  • 2
  • 7
  • 17
2
votes
1 answer

APK Expansion Files. Testing sample

I read this Steps to create APK expansion file, run SampleDownloaderActivity and get: "Download failed because the resources could not be found" How to create a Test Project (simple project >50MB with big pics) and then upload it on Google Play…
user1680782
  • 111
  • 4
  • 9
2
votes
1 answer

Google Play Importing downloader library

When I try to import Google Play Downloader Library to use I get an error in this line of code: import com.android.vending.expansion.downloader.R; It says that this import cannot be resolved Btw, at first when I imported the library I got a lot…
Hadi
  • 705
  • 8
  • 23
2
votes
3 answers

how to load image from expansion file into webview

In our app we have html pages which are loaded into webview from the asset directory. These in turn load jpg images from the same place. I need to move the jpg's to an expansion file due to the 50mg app size limitation of Google Play. We don't want…
Chris Fawcett
  • 161
  • 3
  • 11
2
votes
1 answer

Android - How to test application with Expansion Files with Emulator?

I am developing an application for android devices which uses Expansion Files, and want to test it on AVD. My application contains code for manual download the Expansion Files, but it fails while running on AVD (calling onDownloadStateChanged method…
2
votes
2 answers

Using WebView.loadUrl(string) to load a png file stored inside the zip Expansion file

I am trying to display a png file using WebView.loadUrl(string) where the png file is stored inside the zip APK Expansion file in Android. The path to the Expansion file…
Enoch
  • 21
  • 3