Log in or register to post comments

Crashes the moment it loads

October 24, 2010 - 10:03pm #1

Hi,
I just followed the tutorial and build everything as asked. But when I install it in the android, it suddenly crashes. Initially I had R.java error but after I followed the forum I rebuild it and it has no error.

[2010-10-25 12:54:34 - ImageTargets] Android Launch!
[2010-10-25 12:54:34 - ImageTargets] adb is running normally.
[2010-10-25 12:54:34 - ImageTargets] Performing com.qualcomm.QCARSamples.ImageTargets.ImageTargets activity launch
[2010-10-25 12:54:34 - ImageTargets] Automatic Target Mode: using device 'HT93GLD00538'
[2010-10-25 12:54:36 - ImageTargets] Uploading ImageTargets.apk onto device 'HT93GLD00538'
[2010-10-25 12:54:37 - ImageTargets] Installing ImageTargets.apk...
[2010-10-25 12:54:44 - ImageTargets] Success!
[2010-10-25 12:54:45 - ImageTargets] Starting activity com.qualcomm.QCARSamples.ImageTargets.ImageTargets on device HT93GLD00538
[2010-10-25 12:54:48 - ImageTargets] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.qualcomm.QCARSamples.ImageTargets/.ImageTargets }

May I ask what might have caused it? I am thinking it might be any of these two.
1. I am using 2.2 instead of 2.1
2. I am using G1 which is not a supported device.

Would be glad if anyone could share some light

Re: Crashes the moment it loads

November 16, 2010 - 5:48am #8

Thanks for the reply.

I may be able to borrow a friends Desire phone to test on. But if there is a way to change some code that's responible for shutting down on the Legend, then I'd be very interested in trying the workaround.

Re: Crashes the moment it loads

November 15, 2010 - 11:23am #7

The HTC Legend is not currently supported. Please see the Device Compatibility sticky for more details:

http://ar.qualcomm.at/node/2000017

- Kim

Re: Crashes the moment it loads

November 15, 2010 - 9:15am #6

I also followed the tutorial and I'm able to start the app, but after the splashscreen appears for two seconds I'm returned straight to the homescreen without an error.

I'm testing this on an HTC Legend and I can't find the supported devices list to see whether this can work or not.

Any suggestion is appreciated.

Re: Crashes the moment it loads

November 4, 2010 - 11:25am #5

The SDK should work with OS 2.2.1 on a Nexus One. Can you post the output from your device's log files, just after running the app? If you open the DDMS view in Eclipse you can see the logcat output (or type "adb logcat" on a command line).

- Kim

Re: Crashes the moment it loads

November 4, 2010 - 9:52am #4

I'm having the same problem. All compiles, but the moment I run it on my Android phone it crashes straight away with the message "The application ImageTargets (process com.qualcomm.QCARSamples.ImageTargets) has stopped unexpectedly. Please try again.".

I'm using a Nexus 1 running Android 2.2.1

Should it work on this version of Android?

Thanks :)

Re: Crashes the moment it loads

November 1, 2010 - 10:19pm #3

Thanks. I just tested it on Nexus one and it runs perfectly. Thanks again

Re: Crashes the moment it loads

October 25, 2010 - 5:59am #2

The sample applications will not run on the G1, as it is not a supported device. There should be a runtime error message to that effect further in the logs.

- Kim

Log in or register to post comments