Sunday, April 8, 2012

How do I connect to Kindle Fire for development?


What do I need to do to use my Kindle Fire for android development? (Specifically for testing my apps on the device.)



Source: Tips4all

2 comments:

  1. You can find the instructions for connecting Kindle Fire to the ADB in a PDF of instructions provided by Amazon.

    Paraphrased from the document:


    Edit the adb_usb.ini file (located in ~/.android/)
    Add the lines:


    0x1949
    0x0006


    Save the file.
    Run these commands to restart adb:


    adb kill-server
    adb start-server
    adb devices




    NOTE: For Windows 7 users you need to download an additional driver.

    ReplyDelete
  2. Linux uses a different way to set up the device. According to Using Hardware Devices, you need to set up your Linux system as follows:


    Edit /etc/udev/rules.d/51-android.rules as root, and add the following line (create this file if it does not exist):


    SUBSYSTEM=="usb", ATTRS{idVendor}=="1949", MODE="0666"


    Change the permission of this file by executing the following command as root:


    chmod a+r /etc/udev/rules.d/51-android.rules


    Reload the rules by executing the following command as root:


    udevadm control --reload-rules


    Run these commands to restart adb:


    adb kill-server
    adb devices




    If everything is ok, you will see your Kindle Fire listed as a device.

    ReplyDelete