Reputation: 1728
am trying android with eclipse in linux.
I got struck and restarted adb.
./adb kill-server
[raja@raja platform-tools]$ ./adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
[raja@raja platform-tools]$
Then I tried to launch the helloworld.
I get this error,
[2011-10-22 22:58:56 - HelloAndroid] Failed to install HelloAndroid.apk on device 'emulator-5554!
[2011-10-22 22:58:56 - HelloAndroid] (null)
[2011-10-22 22:58:56 - HelloAndroid] Failed to install HelloAndroid.apk on device 'emulator-5554': device not found
[2011-10-22 22:58:56 - HelloAndroid] com.android.ddmlib.InstallException: device not found
[2011-10-22 22:58:56 - HelloAndroid] Launch canceled!
Please help me fix this.
Thanks.
Upvotes: 0
Views: 2328
Reputation: 1
I had the same problem. The trick was to right click the project itself-> Run Configuration, and not the green "Run" button from the menu bar.
Upvotes: 0
Reputation: 4830
Perhaps too trivial question, but did you start the device in Eclipse AVD manager?
Upvotes: 1
Reputation: 903
Did you already create a new android device? you can do that on the AVD manager, remember that you need the API version you want downloaded, i.e Gingerbread, and create a new device with it.
Upvotes: 1