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

Android: main app and module installed later

Is it possible to have an Android app made up of two parts: a main part and a module that can be installed by the user or by the app itself? I mean a module like a part of the application, including activities that in the end are as they were…
P5music
  • 3,197
  • 2
  • 32
  • 81
2
votes
1 answer

Cannot get the ZipResourceFile expansionfile working

I have been on it for a week now, so I am desperate for help here. I have imported the zip_file package to this sample project in Eclipse, but it doesn't want to work. The obb expansion file is on the test device in the correct folder. What am I…
Immy
  • 631
  • 1
  • 5
  • 15
2
votes
2 answers

Can't play video through intent

My app has a photo gallery that displays a constant list of images. I need to add one video to that list (just one, provided by me). This video is inside an expansion file. I would like to let the user decide the video player he wants to use to play…
2
votes
0 answers

Obb (Opaque Binary Blobb) getMountedObbPath() returning null

Why is the obb-file not found when its actually there? in the logcat window 11-05 20:42:33.860: I/System.out(7563): mainFile = /storage/sdcard0/Android/obb/main.11.se.sourses.thai.obb 11-05 20:42:33.860: I/System.out(7563): main = null the…
java
  • 1,165
  • 1
  • 25
  • 50
2
votes
1 answer

OBB file are not Extract Error is "XAPK file Validation Failed"

I implemented apk expansion successfully and OBB file downloaded at Storage->Android->Obb->PackageName->main.1.com.packagename.obb But when i go to extract i am getting issue is "Not a Zip archive". ZipResourceFile zrf = new…
Saif
  • 723
  • 6
  • 21
2
votes
2 answers

xapk file validation failed - After downdloading obb file

I am getting error "xapk file validation faild" after successfully download an obb file. A progress reach at 99% then give an error "xapk file validation faild". I debugging a code and then it thrown an exception "Not a zip archived"…
Krunal Shah
  • 1,438
  • 1
  • 17
  • 29
2
votes
1 answer

IllegalStateException in VideoView's MediaPlayer.prepareAsync() from Expansion File

I have an Expansion File (zip) full of mp4 videos that I'd like to play with the VideoView. When calling videoView.setVideoURI() it throws and IllegalStateException (prepareAsync called in state 1) in my VideoView's openVideo(). I retrieve the URI…
Emanuel
  • 863
  • 9
  • 29
2
votes
2 answers

Create 0% compressed zip file mac for expansion pack

I am trying to create an expansion pack for an Android app which includes about 100 .mp3 files. As I understand from the documentation and this SO question, the zip file must be 0% compressed. How do I create a 0% compressed zip file on a mac?
ChemDev
  • 827
  • 1
  • 8
  • 23
2
votes
0 answers

Android Expansion File to Custom Picasso Downloader - InputStream

I’m working on this code where I populate the city picture using Picasso and getting it from expansion file. Then, I followed the instructions here and here. No one worked for me. The code bellow and few more details follows: final…
2
votes
1 answer

Using Ion library to load images from an expansion file

I am using an expansion file to load additional resources and load images. My problem is that I can only use getInputStream and create a drawable from stream. Is that possible with Ion library?
Odysseas
  • 301
  • 2
  • 8
2
votes
1 answer

Does Expansion Files stores all files into the res/drawable folder in my phone?

I am new to android expansion files. I am not sure how it works or what to do (step-by-step build) an expansion file. As far I been reading, if I am not wrong please correct me; expansion files can be files that are stored in the Asset folder or Res…
2
votes
0 answers

android manifest file setting for apk expansion file?

I tried first a simple sample of apk expansion file, which works perfectly in downloading the file. but now when I implemented or copy my code to the original app which iam gonna publish on google play market, the downloader is not working at all…
user3866627
  • 233
  • 3
  • 12
2
votes
1 answer

Expansion File (Android): "Download failed because the resources could not be found"

I am facing a problem with an expansion file process, I do not know what the problem is. I hope if someone could help. I have followed the steps by Google; yet I cannot assure I have done it correctly 100%. /* * Copyright (C) 2012 The Android Open…
Abdulkarim Kanaan
  • 1,703
  • 4
  • 20
  • 32
2
votes
0 answers

APK Expansion Files for different screen resolutions

My application requires 50MB+ of images for it to run properly. I was planing to provide different resolutions of images for different screen. The version of images are 1080p, 720p and 480p images in order to support more screens. Is it possible to…
Omar
  • 7,835
  • 14
  • 62
  • 108
2
votes
1 answer

Deleted APK Expansion file still gives NO_DOWNLOAD_REQUIRED

[UPDATE] I uninstalled and then installed again the application on the test device, and it started working fine. I'm implementing APK Expansion file support (but no XAPK ZIP library support). The documentation implies that if a required APK…
Thomas Calc
  • 2,994
  • 3
  • 30
  • 56