I am implementing an app with an expansion file, and as recommended in the 
Android Developer docs, I am also doing a manual check when the app starts, 
whether the expansion file exists, and if not, download it manually via the 
Download Library, that comes with the Android SDK samples.

https://developer.android.com/google/play/expansion-files.html#Preparing

I have it running and it's working with my app and a relatively small 
expansion file (1.4 MB).
When I upload my app to the Google Play store (Alpha test mode), the app is 
available after 2-3 hours, as usual. And at the same time, the download 
library is also able to find and download the expansion file in my app, if 
it's not there. 
(For testing purposes, I delete the expansion file manually on my sdcard, 
in order to test that the download check works correctly).

*But when I use a much larger expansion file of around 340 MB size, the 
manual download from within my app does not find that file, even though the 
app is available in the Play store.*
When I download the app from Google Play, it downloads the app including 
the large expansion file just fine. But when I then, for testing purposes, 
delete the expansion file from my sdcard, and restart my app, the app 
should check if the expansion file exists (it doesn't) and should download 
it.
But this time, it cannot find the resource.

"Download failed because the resource could not be found." is the message I 
am getting when I run the (modified) sample app that comes with the Android 
SDK. (According to that message, the DownloadClient state seems to be in 
this: static final int STATE_FAILED_FETCHING_URL = 16;)

I'm on Android 4.4.4 with a Nexus 4.

Has anyone experienced this problem with large expansion files and those 
not being available via manual download (through the Android download 
library)?

I checked the log, no errors, and no other changes in the app. Or is there 
a longer waiting time until a large expansion file gets available, beyond 
those regular 2-3 hours until an app update is available in Google Play?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to