Feb 14, 2010

Debugging on usb-connected Android phone on Linux

Since my nvidia-broken mybook exchange process got extended by some unclear reasons - maybe russian customs sends us a nice "hello" or local Deep Apple screwed up, but I did not yet got my working machine back and still sitting on rented terrible asus u6v laptop and Ubuntu.

By the way, I need to work regardless the status of my macbook, so I installed Android sdk on Ubuntu this weekend. While sdk installation and development process went nice, I stuck on running my app on a real, usb connected device - IDEA / NetBeans were hanging on a device selection dialog and "adb devices" commands says "no permissions".

The answer was simple, so Im posting it here, basically for my own records and if this would be useful for anyone else. The problems is in permissions. To fix this, just become root and restart your adb server by invoking the following commands (as root !) from Android sdk:

adb kill-server
adb start-server 

Now try to reinvoke your IDE Android devices list or just call "adb devices" - you should see your phone now ok.

In some cases, you'll need to add permissions to asb devices manager, in such case plase consult the source topic I found information in - it contains some more details on this question: http://androidboss.com/using-android-debug-bridge-adb-in-linux/

3 comments:

  1. I was getting bore since morning but as soon as I got this link & reached at this blog, I turned into fresh and also joyful too. mu online

    ReplyDelete
  2. Anonymous5/12/22 04:26

    The reply is sure, however the mathematical calculation of those chances is way more difficult, as you'll be able to|you possibly can} think about. NetEnt is committed 1xbet to gaming that's fun, protected, and secure. The most significant factor right here are|listed beneath are} new technologies and that new video games will be added to the portfolio rapidly after their release. Customer help team via Live Chat or email and the pleasant workers on the prime NetEnt casinos will present help.

    ReplyDelete
  3. Anonymous8/12/22 08:18

    They offer data and recommendation to encourage responsible gambling, both to players and on line casino operators, and provides help to those that 온라인 카지노 may need a gambling downside. Casino.org is the world’s leading independent on-line gaming authority, offering trusted on-line on line casino news, guides, evaluations and information since 1995. Roulette is a recreation with many quirks, and you’ll soon uncover that the odds of assorted bets aren’t at all times what you expect them to be.

    ReplyDelete