Topic locked

Failed to iniitalize QCAR(closed)

March 6, 2015 - 3:40am #1

In my ImageTargets app I try to change it and call ImageTargets.java in different layouts, and when I try to call ImageTargets for the second time I can't launch it and a QCAR error appears: "Failed to initialize QCAR(closed)".

I searched all over forum and I deduced it is a matter of ImageTargets lifecycle.Is it true?Could I  call onDestroy when I have successfully used ImageTargets for the first time os somethin else?I found it as a solution here!

(https://developer.vuforia.com/forum/android/project-error#comment-2048271)

I will really appreciate your help!

Failed to iniitalize QCAR(closed)

March 9, 2015 - 6:21am #5

Great ;-)

Failed to iniitalize QCAR(closed)

March 9, 2015 - 6:04am #4

Problem Solved!!!! I just called: 

QCAR.deinit();

 

Failed to iniitalize QCAR(closed)

March 9, 2015 - 4:42am #3

As mentioned already in this thread:

https://developer.vuforia.com/forum/android/project-error#comment-2048271

you need to make sure that your Application code deinitializes QCAR and the Trackers before attempting to initialize QCAR a second time.

One way to do this is to debug your App and check the life-cycle events and see if at any point you start QCAR before it has been deinitialized. 

 

Failed to iniitalize QCAR(closed)

March 9, 2015 - 2:54am #2

Any help please??

My logcat error is : " InitQCARTask::onPostExecute: Failed to initialize QCAR. Exiting."

Topic locked