Hi All,
I met a strange case. I updated the vuforia sdk to 2-0-30 versuib and download a sample "vedioplayback2.0.6" source, created a project in Eclipse, then
ndk build,compiled the apk ..... the project was compiled ok but when run in my phone (Nexus one ) ,it show exception. I found the log is below:
02-19 22:36:04.581: E/AndroidRuntime(10624): FATAL EXCEPTION: main02-19 22:36:04.581: E/AndroidRuntime(10624): java.lang.UnsatisfiedLinkError: setActivityPortraitMode02-19 22:36:04.581: E/AndroidRuntime(10624): at com.qualcomm.QCARSamples.VideoPlayback.VideoPlayback.setActivityPortraitMode(Native Method)02-19 22:36:04.581: E/AndroidRuntime(10624): at com.qualcomm.QCARSamples.VideoPlayback.VideoPlayback.initApplication(VideoPlayback.java:1025)02-19 22:36:04.581: E/AndroidRuntime(10624): at com.qualcomm.QCARSamples.VideoPlayback.VideoPlayback.updateApplicationStatus(VideoPlayback.java:741)02-19 22:36:04.581: E/AndroidRuntime(10624): at com.qualcomm.QCARSamples.VideoPlayback.VideoPlayback.onCreate(VideoPlayback.java:350)02-19 22:36:04.581: E/AndroidRuntime(10624): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)02-19 22:36:04.581: E/AndroidRuntime(10624): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1722)02-19 22:36:04.581: E/AndroidRuntime(10624): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1784)02-19 22:36:04.581: E/AndroidRuntime(10624): at android.app.ActivityThread.access$1500(ActivityThread.java:123)02-19 22:36:04.581: E/AndroidRuntime(10624): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:939)02-19 22:36:04.581: E/AndroidRuntime(10624): at android.os.Handler.dispatchMessage(Handler.java:99)02-19 22:36:04.581: E/AndroidRuntime(10624): at android.os.Looper.loop(Looper.java:130)02-19 22:36:04.581: E/AndroidRuntime(10624): at android.app.ActivityThread.main(ActivityThread.java:3835)02-19 22:36:04.581: E/AndroidRuntime(10624): at java.lang.reflect.Method.invokeNative(Native Method)02-19 22:36:04.581: E/AndroidRuntime(10624): at java.lang.reflect.Method.invoke(Method.java:507)02-19 22:36:04.581: E/AndroidRuntime(10624): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:864)02-19 22:36:04.581: E/AndroidRuntime(10624): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:622)02-19 22:36:04.581: E/AndroidRuntime(10624): at dalvik.system.NativeStart.main(Native Method)02-19 22:36:08.685: I/Process(10624): Sending signal. PID: 10624 SIG: 9
who can help to track the problem ?
help~~ compile ok but work fail
Hi, two things to check:
help~~ compile ok but work fail
thanks very much, I will check it as you said