"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Android 6.0 - Camera Initialization failed

Hi,

We have an issue similar to this post.

We are testing our app on Nexus 5X with Android 6.0 and the AR camera cannot be initialized. We tried to set <uses-sdk android:minSdkVersion="15" android:targetSdkVersion="22">, but since our app is already available on Google Play Store (probably with targetSdkVersion="23"), the app cannot be installed:

"Failure [INSTALL_FAILED_PERMISSION_MODEL_DOWNGRADE]"

Is there any other solution to fix this ?

 

Thanks,

Jérémy.

shekhar331

Fri, 05/06/2016 - 08:40

I have the same case. We had delivered an application to a high profile client last year. At that time we had used Unity 4.6 and Vuforia 3.0.9. Facing the same problem . Tried the following

Hey guys, I'm also currently facing the same problem with SDk23 crashing Vuforia on Android devices with 6.0 above! ANy of you guys found a solution so far?

OMG! 

My app was built with Unity5.2.0f3 and the total project is based on AssetBundle loading.

its very pain to recreate the asset bundles for the latest Unity also it is similar to create the project from scratch. 

 

 

robertogr

Thu, 06/16/2016 - 07:30

This works for me:

- Settings->Applications-> "uninstall app completely"

- Install app with android:targetSdkVersion="23" in manifest.xml

-Then: Settings->Applications-> "App details" -> allow camera and everything you need.

 

Good luck ;)

SOLUCIÓN AL PROBLEMA:

        minSdkVersion 14
        targetSdkVersion 23


EJEMPLO DE CÓDIGO:

public class login extends ActionBarActivity {