Hi Everyone ,
I have installed the android sdk and Vuforia ,my problem is when i'm trying to run the sample (Image Targets ) it's running but when i click on the start button it is showing the "unfortunatly image targets has stopped"
In my logcat it showing
The library libQCAR.so could not be loadedThe library libMultiTargets.so could not be loaded
12-28 09:55:47.400: W/dalvikvm(799): threadid=1: thread exiting with uncaught exception (group=0x40a70930)12-28 09:55:47.459: E/AndroidRuntime(799): FATAL EXCEPTION: main12-28 09:55:47.459: E/AndroidRuntime(799): java.lang.UnsatisfiedLinkError: Native method not found: com.qualcomm.QCARSamples.ImageTargets.ImageTargets.getOpenGlEsVersionNative:()I12-28 09:55:47.459: E/AndroidRuntime(799): at com.qualcomm.QCARSamples.ImageTargets.ImageTargets.getOpenGlEsVersionNative(Native Method)12-28 09:55:47.459: E/AndroidRuntime(799): at com.qualcomm.QCARSamples.ImageTargets.ImageTargets.getInitializationFlags(ImageTargets.java:384)12-28 09:55:47.459: E/AndroidRuntime(799): at com.qualcomm.QCARSamples.ImageTargets.ImageTargets.onCreate(ImageTargets.java:355)12-28 09:55:47.459: E/AndroidRuntime(799): at android.app.Activity.performCreate(Activity.java:5104)12-28 09:55:47.459: E/AndroidRuntime(799): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)12-28 09:55:47.459: E/AndroidRuntime(799): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2144)12-28 09:55:47.459: E/AndroidRuntime(799): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230)12-28 09:55:47.459: E/AndroidRuntime(799): at android.app.ActivityThread.access$600(ActivityThread.java:141)12-28 09:55:47.459: E/AndroidRuntime(799): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)12-28 09:55:47.459: E/AndroidRuntime(799): at android.os.Handler.dispatchMessage(Handler.java:99)12-28 09:55:47.459: E/AndroidRuntime(799): at android.os.Looper.loop(Looper.java:137)12-28 09:55:47.459: E/AndroidRuntime(799): at android.app.ActivityThread.main(ActivityThread.java:5039)12-28 09:55:47.459: E/AndroidRuntime(799): at java.lang.reflect.Method.invokeNative(Native Method)12-28 09:55:47.459: E/AndroidRuntime(799): at java.lang.reflect.Method.invoke(Method.java:511)12-28 09:55:47.459: E/AndroidRuntime(799): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)12-28 09:55:47.459: E/AndroidRuntime(799): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)12-28 09:55:47.459: E/AndroidRuntime(799): at dalvik.system.NativeStart.main(Native Method)
Can anyone help me ..
Hi, for some reasons your
Hi, for some reasons your post has not shown up for a while, I just noticed it;
however, have you built the native code with ndk-build and then cleaned and refreshed the project in Eclipse ?
The library libQCAR.so could not be loaded
Hi,
i've got the same problem - the QCAR is enabled. Each time running the sample:
libQCAR.so could not be loaded
The library libQCAR.so could not be loaded
Hi suppenhum,
have you tried doing as follows:
The library libQCAR.so could not be loaded
Hi Alessandro,
i imported the project as you discribe -but the errors aren't fixed with FIX Project Properties. I still got 2 errors:
Error:
The library libQCAR.so could not be loaded
Hi, looks like QCAR_SDK_ROOT is not set to the correct path;
could you do the following:
- in Eclipse go to Window -> Preferences
- select Java -> Build Path -> Classpath Variables
The library libQCAR.so could not be loaded
Hi Alessandro!
Yeah now it's running - but the application crashes on the emulator when starting the AR Part. I set the Backcamera of the device to Webcam.
Errors are:
The library libQCAR.so could not be loaded
Hi, the crash is due to the emulator; you need to use a real device.
Vuforia supports using the PC WebCam in Unity (if you're interested), but does not support the Android emulator.
The library libQCAR.so could not be loaded
Hi Alessandro,
thank you for the hint - on the device it works perfect! :-)
The library libQCAR.so could not be loaded
Hi,
first, happy to hear that it works.
Concerning your second question:
yes, the good news for you is that it is possible to integrate Unity and Eclipse development;
The library libQCAR.so could not be loaded
Thank you very much !
Would be great if we can get this this running ( Unity 4 is in use ) - because the "export to eclipse" feature in unity 4 doesn't work at all :-(
The library libQCAR.so could not be loaded
OK, I replied to your other post at https://developer.vuforia.com/forum/unity-3-extension-technical-discussion/need-help-including-unity-project-l
The library libQCAR.so could not be loaded
Hi,
I am having the same problem:
The library libQCAR.so could not be loaded
HiBar
The library libQCAR.so could not be loaded
The libs were recreated using the Cygwin terminal so i did not copy those...
I only copied the java classes, the recources and the jni folder
The library libQCAR.so could not be loaded
E/QCAR(29307): The library libQCAR.so could not be loaded
The library libUserDefinedTargets.so could not be loaded
i even use all the method which tell below, QCAR_SDK_ROOT is also configure Coreectly and also added .jar file.
The library libQCAR.so could not be loaded
Have you followed the instructions on how to build the samples:
https://developer.vuforia.com/resources/dev-guide/step-3-compiling-running-vuforia-sample-app
The library libQCAR.so could not be loaded
yes , i use now it is giving only 1 error thar is 2nd one, first is resolved, from where did i get the file .so file of " libUserDefinedTargets.so". it is again giving the error that is " The library libUserDefinedTargets.so could not be loaded"
The library libQCAR.so could not be loaded
Are you compiling the UserDefinedTargets sample ? or a modified version of it ?
The library libQCAR.so could not be loaded
I am using sample app.
The library libQCAR.so could not be loaded
Have you tried the other samples ? for instance Imagetargets ? do they show similar problem ?
also, does the native compilation get completed successfully, when you run ndk-build ?
The library libQCAR.so could not be loaded
No didnt test other app , i just use this single application and it is giving the error.