Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android - How to load HelloWorld app onto my Phone?

I made an Android Hello world app and I'm trying to load it onto my HTC Incredible. I believe it has 2.2 (how do I confirm that?)

Anyway, Eclipse gives me this message and then brings up the window in the screenshot below.

Automatic Target Mode: Unable to detect device compatibility. Please select a target device.

I'm on Ubuntu 64bit if that matters. I did turn on USB debugging on the phone. I told the phone to connect as a disk drive.

Any ideas how to get my app onto the phone?

Update: Do I need to perform these steps since I'm on Ubuntu? I doesn't mention what to do for Ubuntu 8.10 though.

alt text

like image 493
Greg Avatar asked Sep 30 '10 20:09

Greg


2 Answers

Ok, it turns out I did have to follow all the instructions from this page. (The sudo stuff mentioned in other answers above didn't help.)

Here are the exact commands I ran for Ubuntu 8.10

like image 130
Greg Avatar answered Oct 23 '22 08:10

Greg


You need to run the adb server in superuser mode (i.e. sudo adb start-server).

like image 37
EboMike Avatar answered Oct 23 '22 06:10

EboMike