By sagi
on Sun, 10/28/2012 - 10:06
Hey,
From time to time i randomly encounter this error:
InitQCARTask::onPostExecute: Failed to initialize QCAR. Exiting.
following msg box that shut download the activity
right after restart everything works!!
anyone can tell me why this is hapenning ? and how can the randomly be explained ?
Thanks
Failed to initialize QCAR.
Hi, do you observe this behaviour in one of the Vuforia samples ? or is it your own application?
Could you also provide a bit more details on the scenario that (sometimes) triggers this error (like if you launch other activities, etc); that would help!
Failed to initialize QCAR.
I tryed to gather some more information on when it happens.
I'm using my own application which is like MainActivity->ImageTargets
from ImageTargets you can press the back key to get back to MainActivity
Failed to initialize QCAR.
I looks like due to the fast switch back and forth, the second time you try to initialize QCAR while a previous deinitialization has not yet completed.
Failed to initialize QCAR.
yes, that what i thought.
will try to do it.
seems like the most dirty but simple solution is to just make a 1-2 second timer when resuming the MainActivity
if user will try to move again to ImageTargets and the timer didn't finish the task will just wait for the timer
Failed to initialize QCAR.
OK, feel free to share your solution then, might be helpful to others as well.