Debugging android apps on the kindle fire
Asked Answered
D

5

39

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

Dunford answered 18/11, 2011 at 21:38 Comment(3)
No exp developing android app.. but did a good search for your question and go this.. androidforums.com/application-development/… :)Bradeord
I did another search and found this: 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.Acoustic
See a specific question/answer for Ubuntu: #8257701Jorge
S
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:

Spodumene answered 21/11, 2011 at 6:38 Comment(4)
Had trouble figuring out how to restart adb - the path to the file is not found in terminal - can anyone help?Dougherty
set <Android-SDK>/tools and <Android-SDK>/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.Spodumene
I just made a batch file to reset the adb for me since it is needed often.Dunford
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.Exposed
D
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

Dougherty answered 24/11, 2011 at 19:59 Comment(0)
G
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

Grounds answered 27/12, 2011 at 7:0 Comment(0)
P
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.

Pythian answered 3/5, 2012 at 1:32 Comment(0)
S
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)

Shwalb answered 11/10, 2012 at 11:50 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.