apk-expansion-files

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

梦想与她 提交于 2019-11-27 22:42:42
问题 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 * */

Read content from APK expansion file (from obb file)

旧城冷巷雨未停 提交于 2019-11-27 21:44:19
I have implemented APK expansion file download service and all from http://developer.android.com/google/play/expansion-files.html I can download APK expansion file and I can see that file using below code try { ZipResourceFile expansionFile = APKExpansionSupport .getAPKExpansionZipFile(this, 3, 0); ZipEntryRO[] zip = expansionFile.getAllEntries(); Log.e("", "" + zip[0].mFile.getAbsolutePath()); Log.e("", "" + zip[0].mFileName); Log.e("", "" + zip[0].mZipFileName); Log.e("", "" + zip[0].mCompressedLength); AssetFileDescriptor fd = expansionFile .getAssetFileDescriptor(zip[0].mFileName); if (fd

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

被刻印的时光 ゝ 提交于 2019-11-27 17:02:22
问题 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? 回答1: 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

Android OBB/ZIP loading (cocos2dx)

耗尽温柔 提交于 2019-11-27 16:55:11
问题 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

Release APK file not showing google maps

前提是你 提交于 2019-11-27 14:33:03
问题 I applied the exact steps as mentioned in the google developer doc to create an example google map project and everything went fine on the emulator, but when I generated the project apk file and launched it on real device Samsung Galaxy S4 google map doesn't show up it shows only a blank background with just colored Google logo appearing on the left lower screen corner !! I created new project for google map I created new .jks file for the project and created store and key pass and alias then

Read content from APK expansion file (from obb file)

…衆ロ難τιáo~ 提交于 2019-11-27 04:32:09
问题 I have implemented APK expansion file download service and all from http://developer.android.com/google/play/expansion-files.html I can download APK expansion file and I can see that file using below code try { ZipResourceFile expansionFile = APKExpansionSupport .getAPKExpansionZipFile(this, 3, 0); ZipEntryRO[] zip = expansionFile.getAllEntries(); Log.e("", "" + zip[0].mFile.getAbsolutePath()); Log.e("", "" + zip[0].mFileName); Log.e("", "" + zip[0].mZipFileName); Log.e("", "" + zip[0]

Steps to create APK expansion file

六月ゝ 毕业季﹏ 提交于 2019-11-26 00:41:35
问题 I have developed Application and work successfully. I have used Application Licensing feature into my application. And now I\'m going to upload an application on google play. Please let me know the steps, How to use Application licensing and how to create APK Expansion file? 回答1: Expansion files remove the restriction of uploading more than 50MB apk size. You should attach these files when uploading the apk. Each app can provide up to 4GB (2GB - main, 2GB - patch) of additional data for each