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
1
vote
1 answer

Unable to play OGG audio file in Exoplayer from android Expansion file OBB

I've recently switched my app audio file resources to a Expansion File. problem is that when I read an audio file using APEZProvider the app doesn't play anything. See Exoplayer Error: E/ExoPlayerImplInternal: Source error. …
pastillas
  • 124
  • 11
1
vote
1 answer

How to manually download the expansion (obb) files for your app on play store?

I have published my app on play store with expansion files (obb format). On play store it the download size is apk size + obb file size. Can I get answers for following queries? Is there any settings on console to download apk only and then…
1
vote
0 answers

BitmapRegionDecoder reading OBB using APK Expansion ZIP Library

I'm trying to read a bitmap from an OBB file using BitmapRegionDecoder together with the APK expansion Zip Library as follows. ZipResourceFile expansionFile = APKExpansionSupport.getAPKExpansionZipFile(cont,1, 1); AssetFileDescriptor…
larix
  • 11
  • 2
1
vote
0 answers

Android app with lots of external libraries vs application size

I have an android app with a few external libraries (also native) and I will have to add another ones. My app is growing which becomes a real problem. Single library is used by less than 5% of my app users so I do not want to force all my users to…
Marcin
  • 1,113
  • 1
  • 11
  • 33
1
vote
2 answers

How to create a folder under /Android/obb?

I'm trying to use expansion files and I found an issue that I'm not able to resolve. It seems that you can access the /Android/obb folder and eventually delete the /Android/obb/my.package.name directory (tried with some file manager), but I cannot…
Enrichman
  • 11,157
  • 11
  • 67
  • 101
1
vote
1 answer

Load images using html tag from Android expansion file

I am trying to load my HTML files from Android expansion file(.obb) using WebView like String prompt = ""; WebView webview = (WebView) rootView.findViewById(R.id.webview); try { InputStream html = getAssetFileDescriptor("www/" +…
1
vote
0 answers

Android : Why when Read OBB File play display warning

This Class of JCAudio public JcAudio(String title, String path, Origin origin) { this.id = -1; this.position = -1; this.title = title; this.path = path; this.origin = origin; } public static…
1
vote
0 answers

Can't add expansion libraries

I'm following this guide for working with expansion files in Android, but I can't even get the modules set up. When I make a new module and try to import the library as described in item 5 it clears out the path I entered. So I tried to use the…
Cody Harness
  • 1,116
  • 3
  • 18
  • 37
1
vote
0 answers

Expansion files not downloading from Play Store

I'm creating a cordova plugin that downloads expansion files from the play store. I implemented it like this. But when I start my app, nothing happens. REQUEST TO START DOWNLOAD was called yet. But nothing further. onStart() should be called for…
1
vote
0 answers

How to implement Download Library as an android module in Cordova Plugin?

I am implementing an android plugin for a Cordova app. And I want to use an external library implemented as a module. But if I create a module with Android Studio I would like to know if an Android Module is compatible with Cordova. Because I would…
unlimited101
  • 3,653
  • 4
  • 22
  • 41
1
vote
1 answer

Google Play expansion file: downloaded file is damaged

I need an expansion file for my app that contains media files. I uploaded my signed apk to the play store, added the expansion file and started an alpha test. When I downloaded the app, the expansion file was downloaded also. It is in the…
chocolate cake
  • 2,129
  • 5
  • 26
  • 48
1
vote
0 answers

Creating expansion file will also effects static array reference?

I am working on an Android Project, Project based on Training. I have provided 64 videos for the training sessions according to the level. All videos are inside raw folder and and i am using these videos by specifying paths with a name of video in…
Yasir Ameen
  • 65
  • 2
  • 9
1
vote
0 answers

Are you expected to build the .jar files yourself?

I am very new to Android (just two days old) and am trying to implement the downloader for apk expansion files for a game by extending DownloaderService class. I have installed the Licensing Library, APK Expansion Library package from the SDK…
Arnold B
  • 11
  • 1
1
vote
1 answer

OBB file is not recognised

I put OBB file manually so I can check if everything is working ok. When I put files in Android/obb folder, it cannot be recognised on the first build. I have noticed that if I restart phone after putting OBB file in obb folder, it starts to be…
Mladen Rakonjac
  • 9,562
  • 7
  • 42
  • 55
1
vote
1 answer

Correct way to make an obb file

I'm trying to make an obb file and I've been unsuccessful with the JOBB tool see here: JOBB DirectoryFullException: de.waldheinz.fs.fat.DirectoryFullException: directory is full and when I follow the suggestion found in this answer:…
ez4nick
  • 9,756
  • 12
  • 37
  • 69