Thursday, January 19, 2012

Developing on Amazon Kindle

To develop Android app on Kindle you have to set up your Mac's IDE environment first:


  • Install Android 2.3.4 tools in your Eclipse
  • Edit  ~/.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
0x000

  • Restart the ADB
uki:platform-tools uki$ adb kill-server
-bash: adb: command not found
uki:platform-tools uki$ ./adb kill-server
uki:platform-tools uki$ ./adb start-server
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
uki:platform-tools uki$ ./adb devices
List of devices attached
75E8002600000001 device 

  • If Amazon Fire is in USB transfer mode, just quit it
At this point you should be able to start using Eclipse to develop your apps.


When trying to install MY Mapping app I am getting error:

[2012-01-19 10:27:31 - CouponCabin] Uploading XYZ.apk onto device '75E8002600000001'
[2012-01-19 10:27:31 - CouponCabin] Installing XYZ.apk...
[2012-01-19 10:27:32 - CouponCabin] Installation error: INSTALL_FAILED_MISSING_SHARED_LIBRARY
[2012-01-19 10:27:32 - CouponCabin] Please check logcat output for more details.
[2012-01-19 10:27:32 - CouponCabin] Launch canceled!

01-19 10:27:32.394: E/PackageManager(1399): Package com.XYZ requires unavailable shared library com.google.android.maps; failing!



Yes, Amazon, you are failing indeed. Google Maps are not installed and you need to root your device to get them on:

http://www.pcworld.com/article/244474/how_to_install_the_android_market_on_your_kindle_fire.html

Kindle may be selling well, but it is far from a target platform.