Log in or register to post comments

unfortunately ImageTarget has stopped

December 4, 2013 - 11:19am #1

I download the ndk file and set up in NDK location path. But when i run the app i'm getting following error:

 

12-05 00:04:57.446: E/AndroidRuntime(276): FATAL EXCEPTION: main
12-05 00:04:57.446: E/AndroidRuntime(276): java.lang.UnsatisfiedLinkError: getOpenGlEsVersionNative
12-05 00:04:57.446: E/AndroidRuntime(276): at com.qualcomm.QCARSamples.ImageTargets.ImageTargets.getOpenGlEsVersionNative(Native Method)
12-05 00:04:57.446: E/AndroidRuntime(276): at com.qualcomm.QCARSamples.ImageTargets.ImageTargets.getInitializationFlags(ImageTargets.java:383)
12-05 00:04:57.446: E/AndroidRuntime(276): at com.qualcomm.QCARSamples.ImageTargets.ImageTargets.onCreate(ImageTargets.java:354)
12-05 00:04:57.446: E/AndroidRuntime(276): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
12-05 00:04:57.446: E/AndroidRuntime(276): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627)
12-05 00:04:57.446: E/AndroidRuntime(276): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
12-05 00:04:57.446: E/AndroidRuntime(276): at android.app.ActivityThread.access$2300(ActivityThread.java:125)
12-05 00:04:57.446: E/AndroidRuntime(276): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
12-05 00:04:57.446: E/AndroidRuntime(276): at android.os.Handler.dispatchMessage(Handler.java:99)
12-05 00:04:57.446: E/AndroidRuntime(276): at android.os.Looper.loop(Looper.java:123)
12-05 00:04:57.446: E/AndroidRuntime(276): at android.app.ActivityThread.main(ActivityThread.java:4627)
12-05 00:04:57.446: E/AndroidRuntime(276): at java.lang.reflect.Method.invokeNative(Native Method)
12-05 00:04:57.446: E/AndroidRuntime(276): at java.lang.reflect.Method.invoke(Method.java:521)
12-05 00:04:57.446: E/AndroidRuntime(276): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
12-05 00:04:57.446: E/AndroidRuntime(276): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
12-05 00:04:57.446: E/AndroidRuntime(276): at dalvik.system.NativeStart.main(Native Method)
 

unfortunately ImageTarget has stopped

December 4, 2013 - 12:05pm #7

Have you added the ndk directory to your system path ?

Please review the Getting Started guide, as all these steps are explained in detail there. The forum is not the right place to address this.

 

unfortunately ImageTarget has stopped

December 4, 2013 - 12:01pm #6

I run ndk-build command. But i'm getting ndk-build is not recognized as an inernal or external command. why this error?

unfortunately ImageTarget has stopped

December 4, 2013 - 11:55am #5

I executed below in run command D:\Augmented Reality\vuforia\vuforia-sdk-android-2-5-7\samples\ndk-build. But i didn't get anything. Same thing happen. Where i did mistake? Is i need to download & copy NDK folder to android? Is i need to change anything rather than this?

unfortunately ImageTarget has stopped

December 4, 2013 - 11:37am #4

Yes, You need to execute ndk-build from the sample directory of the specific sample (e.g. ImageTargets)

unfortunately ImageTarget has stopped

December 4, 2013 - 11:34am #3

Is i need to copy the ndk folder to android-sdk directory path? or simply run this Change directory to ImageTargets in the <DEVELOPMENT_ROOT>\vuforia-sdk-android-xx-yy-zz\samples directory and execute:

ndk-build

unfortunately ImageTarget has stopped

December 4, 2013 - 11:27am #2

You need to build the native C++ code with ndk-build, as explained in the developer guide.

Log in or register to post comments