Log in or register to post comments

ImageTargets problem

June 12, 2011 - 6:07pm #1

My device is HTC Desire

compile QCAR sample "ImageTargets" is good

but, run application pop message

"Application ImageTargets(process:com.qualcomm.QCARSamples.ImageTargets)"

then,application was close.

the logcat "QCAR" have 8 line

Native library libQCAR.so loaded
Native library libImageTargets.so loaded
ImageTargets:: onCreate
ImageTargets:: onResume
INFO:QCAR has failed to initialize correctly
ImageTargets:: onPause
ImageTargets:: onDestroy
Jave_com_qualcomm_QCARSample_ImageTargets_deinitAPPlicationNative

i think the init wrong

Why?

Re: ImageTargets problem

July 2, 2011 - 7:27am #6
ppreuss wrote:

Hello,

Did ndk-build run without error? This behavior can be caused by an error in the ndk-build process.

-Peter

well, my problem has been solve, i use ndk-build, and then compile, the application can run, thank you!!:)

Re: ImageTargets problem

July 2, 2011 - 4:50am #5
ppreuss wrote:

Hello,

Did ndk-build run without error? This behavior can be caused by an error in the ndk-build process.

-Peter

i use cygin to build, and then pop 20 lines message, i think the build ok, but the application still can't run, the 20 lines under.

Gdbserver: [arm-linux-androideabi-4.4.3] libs/armeabi/gdbserver
Gdbsetup: libs/armeabi/gdb.setup
Gdbserver: [arm-linux-androideabi-4.4.3] libs/armeabi-v7a/gdbserver
Gdbsetup: libs/armeabi-v7a/gdb.setup
Compile++ arm: ImageTargets Compile++ arm: ImageTargets Compile++ arm: ImageTargets StaticLibrary: libstdc++.a
Prebuilt: libQCAR.so SharedLibrary: libImageTargets.so
Install: libImageTargets.so => libs/armeabi/libImageTargets.so
Install: libQCAR.so => libs/armeabi/libQCAR.so
Compile++ arm: imageTargets Compile++ arm: ImageTargets Compile++ arm: ImageTargets StaticLibrary: libstdc++.a
Prebuilt: libQCAR.so SharedLibrary: libImageTargets.so
Install: libImageTargets.so -> libs/armeabi-v7a/libImageTargets.so
Install: libQCAR.so -> libs/armeabi-v7a/libQCAR.so

Re: ImageTargets problem

July 2, 2011 - 3:15am #4
robertross wrote:

You have to be connected to the internet on the first run of the application.
Make sure you are an try again.

Rob.

i has been connected to the internet, but the same.

Re: ImageTargets problem

June 13, 2011 - 5:19pm #3

Hello,

Did ndk-build run without error? This behavior can be caused by an error in the ndk-build process.

-Peter

Re: ImageTargets problem

June 13, 2011 - 3:53am #2

You have to be connected to the internet on the first run of the application.
Make sure you are an try again.

Rob.

Log in or register to post comments