Log in or register to post comments

Trouble running Samples

March 14, 2011 - 12:25am #1

I'm trying to run the samples on a G2 with Android 2.2.1.
I'm using mac ox and so for some reason connecting directly from Eclipse is hard. I made a .apk file for each of the samples, moved them to the phone, and tried to install them. The installation is not working (just says installation failed.)

On the Emulator, they do seem to install, but I get some error about the internet connection being needed to determined the properties of the camera.

Any ideas?

Thanks a lot,

S

Re: Trouble running Samples

March 15, 2011 - 10:24am #7

Thanks for replying

Re: Trouble running Samples

March 15, 2011 - 9:53am #6

You can find the list of currently supported devices on the SDK main page:

http://ar.qualcomm.com

Look at the Supported Devices section on the left.

- Kim

Re: Trouble running Samples

March 15, 2011 - 7:55am #5

So what are the currently supported devices? I tested the samples on LG Optimus 2x running Android 2.2.2 and it has the "Network connection..." problem.

Re: Trouble running Samples

March 14, 2011 - 3:22pm #4

Oh, try "./adb logcat" to run the program from that directory.

- Kim

Re: Trouble running Samples

March 14, 2011 - 3:16pm #3

The SD card sometimes shows up when I mount it, and sometimes it doesn't. I do have all the latest updates in eclipse.

adb is not running. When I ls in platform-tools, I do see "adb" but I just get "command not found" when I try to use it.

I'll just try using another computer.
Thanks a lot,

S

Re: Trouble running Samples

March 14, 2011 - 6:29am #2

Have you installed the latest ADT (Android Development Tools) plugin in Eclipse? Macs are usually pretty good about recognizing devices, can you mount the sdcard and see it in the Finder? Be sure to unmount the sdcard when you're done, eject it in the Finder before changing the connection on the phone.

Other tests you can try: open the Terminal application, and cd to the Android platform-tools directory. Try running "adb logcat" to connect to the device log. You can also use the "adb install" command to install an APK directly.

The QCAR SDK does not work in the Android emulator.

- Kim

Log in or register to post comments