"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

The library libQCAR.so could not be loaded

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 .. 

AlessandroB

Mon, 01/14/2013 - 14:46

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 ?

 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.

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"