Log in or register to post comments

FrameMarkers crashes in Galaxy note

June 21, 2012 - 4:01pm #1

hi, i'm developing an app for my final project at the university.

I'm trying to run de app of FrameMarkers but it crashes and show the message "process com.qualcomm.QCARSamples.FrameMarkers" has stopped unexpectedly."

I'm new to programming for Android, i hope someone can help me.

Thanks in advance

 

By the way, i'm using NDK r8, Vuforia SDK 1.5.9, Eclipse and the phone is a Galaxy Note GT-N7000 with Android 2.3.6, N7000UBKK1 kernel 2.6.35.7-N7000UBKK2-CL705203

FrameMarkers crashes in Galaxy note

June 22, 2012 - 2:28pm #10

No problem. I should have had you check that first. It's a required step that people often overlook.

FrameMarkers crashes in Galaxy note

June 22, 2012 - 1:11pm #9

QCAR_SDK_ROOT was unchecked, i checked and the app works fine!!
i already checked the box in the other samples, and works fine too, thank you very much for your help and your patience.

FrameMarkers crashes in Galaxy note

June 22, 2012 - 12:51pm #8

Please confirm that the libQCAR and libFrameMarkers *.so files are in the armeabi folders ( /FrameMarkers/Libs/ ).

You'll also want to confirm that QCAR_SDK_ROOT is defined for this project - Go to: File > Properties > Java Build Path > check QCAR_SDK_ROOT

So you have been able to run the ImageTargets and the BTA samples successfully, but FrameMarkers is throwing these errors?

FrameMarkers crashes in Galaxy note

June 22, 2012 - 12:30pm #7

By the way, i already built and ran the ImageTarget and BackgroundTextureAccess apps successfully, the other examples show me the same error message

FrameMarkers crashes in Galaxy note

June 22, 2012 - 12:22pm #6

i made the QCAR filter, but the LogCat's log is in blank, i tried to open the app installed on the device, then the screen turns black for a few seconds, then show me the message "com.qualcomm.QCARSamples.FrameMarkers ...."

FrameMarkers crashes in Galaxy note

June 22, 2012 - 12:08pm #5

In Eclipse's LogCat console you can add filters to isolate the message types that you want to see. Try adding one for QCAR by clicking the plus sign, next to Saved Filters, and entering QCAR for the filter name and log tag, you can also filter by the app's PID. I'm not seeing evidence of a crash, but this will be easier to determine if you can isolate the messages from the sample app.

Have you tried opening the FrameMarkers app on your device? - i.e. after installing it. It looks like the installation is being mediated by a Device Policy app, and I'm wondering if that's affecting its ability to initiate from the installation process.

FrameMarkers crashes in Galaxy note

June 22, 2012 - 12:02pm #4

Logcat show me this:

06-22 12:55:03.342: E/AndroidRuntime(12458): FATAL EXCEPTION: main

06-22 12:55:03.342: E/AndroidRuntime(12458): java.lang.ExceptionInInitializerError

06-22 12:55:03.342: E/AndroidRuntime(12458): at java.lang.Class.newInstanceImpl(Native Method)

06-22 12:55:03.342: E/AndroidRuntime(12458): at java.lang.Class.newInstance(Class.java:1409)

06-22 12:55:03.342: E/AndroidRuntime(12458): at android.app.Instrumentation.newActivity(Instrumentation.java:1024)

06-22 12:55:03.342: E/AndroidRuntime(12458): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1565)

06-22 12:55:03.342: E/AndroidRuntime(12458): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1667)

06-22 12:55:03.342: E/AndroidRuntime(12458): at android.app.ActivityThread.access$1500(ActivityThread.java:117)

06-22 12:55:03.342: E/AndroidRuntime(12458): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:935)

06-22 12:55:03.342: E/AndroidRuntime(12458): at android.os.Handler.dispatchMessage(Handler.java:99)

06-22 12:55:03.342: E/AndroidRuntime(12458): at android.os.Looper.loop(Looper.java:130)

06-22 12:55:03.342: E/AndroidRuntime(12458): at android.app.ActivityThread.main(ActivityThread.java:3691)

06-22 12:55:03.342: E/AndroidRuntime(12458): at java.lang.reflect.Method.invokeNative(Native Method)

06-22 12:55:03.342: E/AndroidRuntime(12458): at java.lang.reflect.Method.invoke(Method.java:507)

06-22 12:55:03.342: E/AndroidRuntime(12458): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:912)

06-22 12:55:03.342: E/AndroidRuntime(12458): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:670)

06-22 12:55:03.342: E/AndroidRuntime(12458): at dalvik.system.NativeStart.main(Native Method)

06-22 12:55:03.342: E/AndroidRuntime(12458): Caused by: java.lang.NoClassDefFoundError: com.qualcomm.ar.pl.CameraPreview

06-22 12:55:03.342: E/AndroidRuntime(12458): at java.lang.Runtime.nativeLoad(Native Method)

06-22 12:55:03.342: E/AndroidRuntime(12458): at java.lang.Runtime.loadLibrary(Runtime.java:432)

06-22 12:55:03.342: E/AndroidRuntime(12458): at java.lang.System.loadLibrary(System.java:554)

06-22 12:55:03.342: E/AndroidRuntime(12458): at com.qualcomm.QCARSamples.FrameMarkers.FrameMarkers.loadLibrary(FrameMarkers.java:675)

06-22 12:55:03.342: E/AndroidRuntime(12458): at com.qualcomm.QCARSamples.FrameMarkers.FrameMarkers.<clinit>(FrameMarkers.java:101)

06-22 12:55:03.342: E/AndroidRuntime(12458): ... 15 more

06-22 12:55:03.342: E/AndroidRuntime(12458): Caused by: java.lang.ClassNotFoundException: com.qualcomm.ar.pl.CameraPreview in loader dalvik.system.PathClassLoader[/data/app/com.qualcomm.QCARSamples.FrameMarkers-1.apk]

06-22 12:55:03.342: E/AndroidRuntime(12458): at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:240)

06-22 12:55:03.342: E/AndroidRuntime(12458): at java.lang.ClassLoader.loadClass(ClassLoader.java:551)

06-22 12:55:03.342: E/AndroidRuntime(12458): at java.lang.ClassLoader.loadClass(ClassLoader.java:511)

06-22 12:55:03.342: E/AndroidRuntime(12458): ... 20 more

 

were marked in red

FrameMarkers crashes in Galaxy note

June 22, 2012 - 11:51am #3

sorry for the delay, i checked the step 3 and re-build, but show me an error: [2012-06-22 12:24:05 - FrameMarkers] Please execute 'adb uninstall com.qualcomm.QCARSamples.FrameMarkers' in a shell.

i did it, then, i tried to build and run but the app still crashing

FrameMarkers crashes in Galaxy note

June 21, 2012 - 8:27pm #2

Be sure to run ndk-build from your FrameMarkers sample directory. See: Step 3 in Getting Started - SDK , https://ar.qualcomm.at/sdk

If you still have problems, please post your build & run session log from the Eclipse DDMS LogCat console. You may need to highlight the app process in the DDMS to see these messages.

Log in or register to post comments