39

Is debugging Android applications remotely from eclipse supported for Kindle Fire platform?

Andrew Aylett
  • 39,182
  • 5
  • 68
  • 95
  • No exp developing android app.. but did a good search for your question and go this.. http://androidforums.com/application-development/429988-kindle-fire-development.html :) – Shoban Nov 18 '11 at 21:43
  • 1
    I did another search and found this: http://www.technipages.com/kindle-fire-enable-usb-debugging.html in order to allow for remote debugging over USB (using DDMS). I'm not sure what adding the vendor ID to the configuration file actually does - it looks like it might inform adb about an additional kind of USB vendor (Amazon?) that it should consider as an Android device. – ravuya Nov 19 '11 at 00:07
  • See a specific question/answer for Ubuntu: http://stackoverflow.com/questions/8257201/how-can-usb-debugging-for-kindle-fire-can-be-enabled-on-a-linux-ubuntu-machine – AlikElzin-kilaka Feb 26 '12 at 12:08

5 Answers5

57

According to Amazon's FAQ on Kindle Fire, Kindle Fire has USB debugging enabled by default. To connect Kindle Fire to your Android Debug Bridge (ADB) follow the instructions in this PDF.If you are working with Windows 7 you will need to download and use this driver. They are also providing USB drivers for download for Windows 7 PC. Moreover, we can also emulate Kindle Fire specs on Android emulator by using the following parameters.

  • Width: 600px
  • Height: 1024px
  • Abstracted LCD Density: 169
  • Target: Android 2.3.4 - API Level 10
  • RAM: 512 MB

They don't offer separate developer devices. You can use the Kindle Fire devices which you can buy online.

After installing the device driver, I had to modify your adb_usb.ini

  1. Open the C:\Users\< your-login >\.android\adb_usb.ini file for editing
  2. Add 0x1949
  3. Save the file

I could set up Amazon Kindle Fire for debugging. Pic:

Nick Larsen
  • 18,631
  • 6
  • 67
  • 96
Gopinath
  • 12,981
  • 6
  • 36
  • 50
  • 1
    Had trouble figuring out how to restart adb - the path to the file is not found in terminal - can anyone help? – snibbe Nov 24 '11 at 19:59
  • 1
    set /tools and /platform-tools in PATH system environment variable. Alternatively you can do it from eclipse. Go to DDMS -> go to devices view, there reset adb option will be there in the more options. – Gopinath Nov 25 '11 at 08:34
  • I just made a batch file to reset the adb for me since it is needed often. – zzzzzzzzzzzzzzzzzzzzzzzzzzzzzz Feb 08 '12 at 15:41
  • I would be nevious about download this generic driver from 2012... use the one on the SDK manager under extras.. and add the VID and PID to your inf. – hamish Feb 18 '15 at 06:34
2

It's also possible to easily install an unsigned APK of your app for testing: http://androidforums.com/amazon-kindle-fire/448193-install-any-app-kindle-fire.html

snibbe
  • 2,715
  • 1
  • 27
  • 34
2

I found that this post is helpful enable usb debugging. Although it is not as simple as 1,2 3. There are a number of steps involved to enable it. But it can be done. http://www.freerepairguide.com/kindle-fire-enable-usb-debugging.html

David
  • 31
  • 1
1

One drawback to debugging on Fire that you do not find on other devices - when your computer is connected to the Fire device it has blocked the I/O Socket. If your app downloads any files while it is running you will receive an alert that the file could not be downloaded but the debug error in the log will actually show that there was an I/O error. Unplugging the USB cable and attempting to download again will work, but when you plug back in you're back to square one with it wanting to install your app all over again.

icache
  • 41
  • 1
0

Keep in mind that your app target AIR version MUST be no greater than version installed on KF. Otherwise you have to update AIR on KF. (I've answered here how to do it)

Community
  • 1
  • 1
Denis Maslov
  • 446
  • 3
  • 7