Log in or register to post comments

Error after split APK file

July 19, 2013 - 3:22am #1

Hello, I need help to solve a problem with my app.

I have developed an app with Unity 4, first in iOS (no much problems) and now is uploaded to the app store.

Now I have to launch the same app for Android. The app is a very large one (800+ Mb) and I had to split it with the "Split application binary" option checked.

First, I want to say that the app, after some changes, is running well without the splitting option (with one massive apk) but after the splitting process it doesn't work. I have a scene that works as interface before enter the main app, where the Vuforia camera starts running and this scene is working but, when I try to load the main scene the screen goes to black and nothing happends.

I have checked that the data is stored in the right place (/sdcard/Android/obb/<bundlename>). I have debugged the app with adb and I have attached the file.

I see lines like this:

E/Unity   ( 6398): Unable to find QCARWrapper
I/Unity   ( 6398): DllNotFoundException: QCARWrapper
I/Unity   ( 6398):   at (wrapper managed-to-native) QCARNativeWrapper:trackerManagerInitTracker (int)
I/Unity   ( 6398):   at QCARNativeWrapper.TrackerManagerInitTracker (Int32 trackerType) [0x00000] in <filename unknown>:0
I/Unity   ( 6398):   at TrackerManagerImpl.InitTracker (Type trackerType) [0x00000] in <filename unknown>:0
I/Unity   ( 6398):   at DataSetLoadBehaviour.Awake () [0x00000] in <filename unknown>:0

...

I/Unity   ( 6398): Trackable 14_ lost
I/Unity   ( 6398):  
I/Unity   ( 6398): (Filename: ./Runtime/ExportGenerated/AndroidManaged/UnityEngineDebug.cpp Line: 54)
I/Unity   ( 6398):
I/Unity   ( 6398): Trackable 74E_ lost

Please, I need help becouse the deadline for the project is TODAY. I thought that split a working app should be trivial but...

Error after split APK file

November 19, 2014 - 3:44am #11

i have solotion for this after a lot of reading and testing but not simple as it is

i uploaded my apps 117 MB and all works fine

if you need help upload your APK+OBB to https://mega.co.nz/  zip it all with password 12345 iwill fix it and will send you new link to https://mega.co.nz/ in order to download it no limit on the size email me at

with details i will provide solotion.

Error after split APK file

November 17, 2014 - 3:45am #10

Then what is the process for Vuforia SDK 3-0-7 ? 

You should upgrade to 3.0.9.

Vuforia 3.0.9 is fully compatible with the previous 3.0.6 / 7 release, as it only contains some improvements and the added support for the OBB expansion files, which is precisely what you need.

So, your best guess would be to simply upgrade your App from 3.0.7 to 3.0.9 and apply the same process which is described in 

https://developer.vuforia.com/forum/faq/unity-how-can-i-handle-large-android-apps

 

Error after split APK file

November 17, 2014 - 2:36am #9

@AlessandroB , 

We are using Unity3D 4.3.0f4 with Vuforia SDK 3-0-7. My Android application build size is 71MB. 

i have split the application and uploaded in ply store. application is downloaded successfully and open the camera mode. But There is no Augmentation.

 

I have seen the link which you given:

Vuforia 3.0.9 supports dataset loading from OBB expansion files;  procdure guidelines can be found here:

https://developer.vuforia.com/forum/faq/unity-how-can-i-handle-large-android-apps

 

Then what is the process for Vuforia SDK 3-0-7 ? 

Please can you help !!!

 

 

Error after split APK file

July 22, 2014 - 12:21pm #8

Vuforia 3.0.9 supports dataset loading from OBB expansion files;  procdure guidelines can be found here:

https://developer.vuforia.com/forum/faq/unity-how-can-i-handle-large-android-apps

 

Error after split APK file

May 20, 2014 - 12:46pm #7

add this manualy 

    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

from editor doesnt work!!!

Error after split APK file

August 3, 2013 - 1:17pm #6

A reminder for devs using this method for extracting datasets from OBBs - be sure the enable write permissions in your Unity Build Settings.

You'll need to select Write Access = External (SDCard) from Player Settings > Other Settings > in the Configuration section. That will add the necessary permission to your manifest, enabling you to write the dataset files to the SDCard. Otherwise you'll get an error on that operation.

Error after split APK file

July 19, 2013 - 4:39am #5

My .dat file is about 6,3Mb. And yes, my app has a lot of media files (Videos and images that grows the size to 800+Mb).

I'm going to try the AssetsBundle but I think it is a pity that I have done the apk and now I need to redoo all my project.

I'm gonna be killed, for sure :-(.

Error after split APK file

July 19, 2013 - 4:20am #4

Ok. One question: what is the size of the Datasets (the .dat files) that you are using ?

If the Dataset is small, and the size of your APK primarily comes from large Unity assets that you are using (such as videos or large/complex 3D models),

then, one thing you may want to consider is to use AssetBundles to dynamically download the assets that you need into your application;

this would allow you to keep your APK small without having to deal with the OBB issue.

http://docs.unity3d.com/Documentation/Manual/AssetBundlesIntro.html

 

Error after split APK file

July 19, 2013 - 4:03am #3

I have read the hole thread and my problem is not solved. I have post antother question becouse I don't have the same problem (DataSet don't loaded).

I have read also, from a moderator "We're looking into this issue to develop a solution and will update this thread once we know more." and I think the problem is not solved.

I don't know what to do now, I'm lost.

Error after split APK file

July 19, 2013 - 3:41am #2

Hi, the same topic is addressed here (where you can also find some workaround and code snippets):

https://developer.vuforia.com/forum/unity-3-extension-technical-discussion/dataset-does-not-exist-error-when-using-unity-4-android

 

Log in or register to post comments