apk-expansion-files

Getting zip expansion file causing NullPointerException. Zip is not placed in right directory of emulator?

徘徊边缘 提交于 2019-12-11 15:13:41
问题 I'm trying to run the app in the eclipse emulator. In the ddms perspective, file explorer, I've put my .obb file inside mnt/obb/mypackage.name.example/main.1.mypackage.name.example.obb. Now Im getting NullPointerException at this line: zip = APKExpansionSupport.getAPKExpansionZipFile(ctx,1, -1); What could be the problem? 回答1: The path needs to be Android/obb/com.example.android/ Its given here Just store the file in /mnt/sdcard/Android/obb/ EDIT This is a screenshot of an emulator running

Is there a way to manually create the package folder for an APK's .obb file?

只愿长相守 提交于 2019-12-11 08:44:52
问题 I'm having an issue with an app: (rarely) a user will download the app from the play store but the obb/expansion file will fail to download. If the folder for the obb file is created ( Android/obb/my.package.name ), that's fine, I can manually download the obb file without a problem. However, if the folder for the obb file was not created, attempting to create it with File::mkdir() or File::mkdirs() fails (returns false). Attempting to create and write to the obb file without a directory

Android apk expansion file - optional

最后都变了- 提交于 2019-12-10 15:57:22
问题 Can I use main expansion file as optional download option in application? So I don't need download it with APK file but later when user would do it. 回答1: When you create an expansion file, it should be something like [main|patch].<version>.<package_name> main, is for files that you're app needs to run, so you choose patch. The version is the same apk version you are uploading the expansion file with. If your apk version is 7 you should name the expansion file as follow: patch.7.com

Updating an APK in Google Play without changing the expansion file

时间秒杀一切 提交于 2019-12-10 05:05:43
问题 I have a "draft" APK in my Google Play console, and it's connected to an APK expansion file. The version code is 9, and the expansion file is "main.9.com.something.something.obb". Now, I'm trying to update the APK before I release. I increased the version code, along with some code changes. When I upload the APK, I choose to use "main.9.com.something.something.obb" as my expansion. Now, Google Play tells me this: This configuration cannot be published for the following reason(s): Version 9 is

Can't load sound files LibGdx

半世苍凉 提交于 2019-12-09 13:26:21
问题 I would like to load files directly from expansion OBB file by using AssetManager. I implemented my own FileHandleResolver public class CustomFileHandleResolver implements FileHandleResolver { @Override public FileHandle resolve(String fileName) { return new CustomFileHandle(fileName); } } I set it to my AssetManager. I created my own FileHandle and I override read() function @Override public InputStream read() { InputStream input = null; try { input = GameInfo.expansionFile.getInputStream

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

为君一笑 提交于 2019-12-09 01:47:31
问题 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

setting up google play expansion file library in android studio

给你一囗甜甜゛ 提交于 2019-12-07 08:21:49
问题 I am trying to use apk expansion files in my android project, I've read this http://developer.android.com/google/play/expansion-files.html I tried to follow those steps, but I cannot figure out how to set up / include in my project / google play apk expansion library. I've been searching for hours, didn't find right answer. Any help? 回答1: I just tried to set up the modules listed in http://developer.android.com/google/play/expansion-files.html today, but the play_apk_expansion/downloader

How to add android expansion files using Qt

帅比萌擦擦* 提交于 2019-12-06 05:41:17
问题 I am currently developing an Android app using Qt / QML and my app will be a lot larger than the 50 MB Google Play Store limit due to media files that are to be bundled, so I have to use extension files. After some searching I found on a page a line saying that Qt resource system can help make .obb extension files: "For large resources that do not fit into the Google Play store 50 MB limit, qrc can generate rcc files that can be put in obb" but I can not find any information on how to do this

Unable to mount obb file created with JOBB

亡梦爱人 提交于 2019-12-06 01:42:48
问题 I'm trying to mount either an encrypted or non-encrypted obb file I created with the JOBB tool using the mountExpansion() method found in this question: Mounting an encrypted obb apk expansion file in Android. What is interesting is that when I try this with an encrypted file, I get the state 21 which according to https://developer.android.com/reference/android/os/storage/OnObbStateChangeListener.html means The OBB could not be mounted by the system. Returned in status messages from calls

can mount unencrypted obb but with encrypted error 21

本小妞迷上赌 提交于 2019-12-06 00:05:16
This is not related with kitkat bug, i'm testing in 4.4.2 I can mount without problems the obb file, the problem is when try to do the same with encrypted obb. I'm using jobb in windows like this: jobb -d my_folder -o exp.obb -k pwd -pn com.example.name -pv 1 The only thing i changed to load encrypted obb file is this: stgMgr.mountObb(mObbPath, null, new mOnObbStateChangeListener) stgMgr.mountObb(mObbPath, pwd, new mOnObbStateChangeListener) it's not a permissions problem. So, why i cant mount the encrypted obb file? i read this Using encrypted OBB files in Android but don't understand the