Thursday, July 5, 2012

Using Amazon Kindle for development in Eclipse

When you first connect Amazon Kindle device via USB it does not show in the Eclipse Devices listing.

You can quickly fix it by:

1) Modify adb_usb.ini file by adding 0x1949 to the bottom of vendor IDs

$ pico /Users/uki/.android/adb_usb.ini  (replace "uki" with your user name)

2) verify that you have made the change correctly:


$ more /Users/uki/.android/adb_usb.ini
# ANDROID 3RD PARTY USB VENDOR ID LIST -- DO NOT EDIT.
# USE 'android update adb' TO GENERATE.
# 1 USB VENDOR ID PER LINE.
0x1949
$

3) Reset ADB from Eclipse (drop-down arrow on the right hand side of  "Devices")



Device should be showing in "Devices" view now.

NOTE: after updating Eclipse Help -> "Check for Updates" you will have to repeat this procedure.