How to debug apps on Kindle Fire on OS X

Feb 16, 2012 by

So you bought the Kindle Fire and you want to start running and debugging your apps on it but when you connected it, you realized that it is not recognized automatically like other Android devices on OS X.

No worries, it takes 2 minutes to set it up.

You need to:

  • add 2 lines to the “adb_usb.ini” file
  • restart the ADB server

Open up the terminal and edit the “adb_usb.ini” (you can use nano instead of vim): vim ~/.android/adb_usb.ini

add the following 2 lines to the file each on a separate line:

now you need to restart the ADB server and you should be all set.

The whole sequence of commands looks like this:

 

Now you should also see the device while running your app from Eclipse

 

For the official directions in case you need them and for directions for other OS besides OS X, you can check out this PDF

Important tip:

The networking will not work until you “disconnect” the device from USB – just click on “Disconnect” don’t worry it will only cancel the “file transfer mode”. You will still be able to deploy and now actually run apps that require networking.

read more

Global Android DevCamp

Feb 15, 2012 by

Very nice graphics for the Android DevCamp

Going to be at the Cambridge office this w-end hacking away. If you are in the Greater Boston area and want to attent you can register here: http://devcampbostongtug.eventbrite.com/

For all the locations around the world you can go here.

read more

Developers can see the device and app version on each comment on Android Market

Jan 25, 2012 by

Just noticed a nice update on developer facing Android Market panel. Now the developer can see the device user and the app version on each comment on Android Market. Which is a very nice addition to quite barren otherwise control panel. This will help to pinpoint problems more easily for the developers.

Another things that I would personally (and probably many of other Android developer as well) like to see are:

  • Andriod OS version
  • Possibility to answer to the comment – let the developer answer and send the answer to the user’s email automatically
read more

Related Posts

Share This

There was a problem generating the Feed story from the provided data – Facebook gives headache to developers once again

Sep 28, 2011 by

Today I noticed that users of the Android app started experiencing problem with posting to Facebook, getting the following error:

There was a problem generating the Feed story from the provided data

There have already been a few threads on StackOverflow like this one for iOS and this one for Android.

It definitely like a problem Facebook created (once again – sigh)… I will try to update this entry with a resolution once there is one. Hopefully though Facebook developers will just fix this bug on their end as there are a lot of developers (including myself) who had their code working for months with no problems until today.

You can see the status of the bug and add yourself to the list here. Although the bug is open just for iOS, once fixed for iOS, it should be also fixed for Android.

If you happen to know how to fix this, please leave your response in the comments and I will update this entry so that others can fix this problem for their users in the meantime.

UPD: 6:45 EST – it seems that the problem has been resolved! Yey! Hopefully some users will realize that we (the developers) are not the ones to blame (most of the time) that Facebook integration suddenly stopped working. Hopefully the ones that realize this will stop giving bad ratings on App Store and Android Market because of that.

read more

Interesting and amazing things you can do with a little creativity

Jan 11, 2011 by

Using the latest version of Google Goggles on Android, you can automatically solve Sudoku. This is what a little creativity paired with technology does – it brings fun and innovation!

Check out the video of this in action!

read more

Android 2.4 codenamed Ice Cream is expected this summer. What’s next?

Jan 11, 2011 by

The rumors have it that Android 2.4 codenamed Ice Cream is expected this summer in June-July and the release will be announced at the Google/IO.

What’s next in store for Android releases? Will the next release going to be named “Jello” or maybe “Jam”? I personally vote for “Jello”

read more