apk-expansion-files

Expansion file downloaded but not there

喜夏-厌秋 提交于 2019-12-03 07:14:08
So I've copied the expansion package sample for Android and made it run based on the guide provided by google . I've successfully made it work by storing a local .obb file but I can't manage to get it to work with downloading the .obb file. The state is changed to IDownloaderClient.STATE_COMPLETED but no file it to be found. Steps I've been through: Make sample run (updated with BASE64_PUBLIC_KEY , new package name , version number ) Successfully test with local .obb file. Make apk and upload to Play together with expansion file. Install signed apk and run app. <-- here it says download was a

apk expansion issue- Download failed because the resources could not be found android

旧城冷巷雨未停 提交于 2019-12-01 01:34:59
i am using apk expansion file which have approx 250 MB resource. before few days it was working fine. but now i facing one critical issue with apk expansion file. it will give always **Download failed because the resources could not be found** and also i am getting warning in log cat I/LicenseChecker(12165): Binding to licensing service. I/LicenseChecker(12165): Calling checkLicense on service for XXXXX I/LicenseChecker(12165): Start monitoring timeout. I/LicenseChecker(12165): Received response. I/LicenseChecker(12165): Clearing timeout. i have set correct file bytes and public key and .obb

how to load image from expansion file into webview

随声附和 提交于 2019-11-30 09:05:37
问题 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 to move the html pages, for security reasons. Can anyone tell me how to load a jpg from an expansion file into the html webpage? Thanks Christine A few more thoughts: This link posts a similar question but remains unanswered: Using images from apk

How to make Android Expansion File using Android Studio?

偶尔善良 提交于 2019-11-29 20:42:00
I need to upload an .apk but it exceeds the 50 MB limit. I read about this on documentation and some questions but I'm having difficulty to make this work. Does anyone have some tutorial that explain how to do this (using Android Studio) and if there is some way to use Gradle to do this ? SharkAlley I've done this on a few projects, but I never figured out a simple way. The instructions at http://developer.android.com/google/play/expansion-files.html helped me get my head around the basics, but I found parts of the process (like "android update project") didn't work properly with Gradle. The

how to load image from expansion file into webview

时间秒杀一切 提交于 2019-11-29 12:17:27
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 to move the html pages, for security reasons. Can anyone tell me how to load a jpg from an expansion file into the html webpage? Thanks Christine A few more thoughts: This link posts a similar question but remains unanswered: Using images from apk expansion file in android webview This link does have answers but they seem incomplete, at least for my

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

巧了我就是萌 提交于 2019-11-29 08:29:18
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 Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * */ import com.android.vending.expansion.zipfile.ZipResourceFile; import com.android.vending.expansion.zipfile

Android APK size limitation in Google Play

自作多情 提交于 2019-11-29 06:07:44
问题 Docs say that APK size limit in Google Play is 50MB, with option for two 2GB expansion APKs. However, I can find apps in Google Play store that are beyond this 50MB limitation (Gears & Guts for example is 371MB). I can download this game straight from Google Play itself without need for external downloaders. Do they have some extra feature as Top Developer to upload APKs over 50MB, or does Google Play just hide the fact that it's downloading expansion files rather than the APK itself? 回答1:

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

断了今生、忘了曾经 提交于 2019-11-29 02:44:24
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 inside sdk > tools > jobb.bat but unfortunately it closes just after it starts. So am I missing something? i have googled and found that we shold have to make .zip with 0% (No compression) that is mention in http://developer.android.com/google/play/expansion-files.html Tip: If you're packaging media files into a ZIP, you can use media playback calls on

Android OBB/ZIP loading (cocos2dx)

跟風遠走 提交于 2019-11-29 02:35:09
I have a problem dealing with the APK expansions. On Java side, I could set up everything I supposed to set, but it seems I can't modify the code properly on c++ side. Inside the CCFileUtilsAndroid::getFileData function: if (fullPath[0] != '/') { CCLOG("GETTING FILE RELATIVE DATA: %s", fullPath.c_str()); pData = CCFileUtils::sharedFileUtils()->getFileDataFromZip("/storage/sdcard0/Android/obb/com.example.package/main.1.com.example_package.obb", fullPath.c_str(), pSize); } But the pData var is always null (if I'm right, this means that it failed to load). What am I missing guys? Many thanks in

How to make Android Expansion File using Android Studio?

核能气质少年 提交于 2019-11-28 16:21:27
问题 I need to upload an .apk but it exceeds the 50 MB limit. I read about this on documentation and some questions but I'm having difficulty to make this work. Does anyone have some tutorial that explain how to do this (using Android Studio) and if there is some way to use Gradle to do this ? 回答1: I've done this on a few projects, but I never figured out a simple way. The instructions at http://developer.android.com/google/play/expansion-files.html helped me get my head around the basics, but I