"must do adb kill-server and start-server everytime to recognize android device in ubuntu" Code Answer

2

adb "flakiness" is a common problem, you have the right idea to start adb with root permissions. if you have eclipse running and run it as two separate commands, there is a chance that eclipse will have tried to startup adb as a non-root user before you have run your start-server, so i recommend running in a single command line:

sudo adb kill-server && sudo adb start-server

also you want to make sure you have only one copy of the sdk installed and that eclipse is using the same copy as is on your path at the command line.

possibly could throw the run-as-root logic into an init script so that when you restart the computer it comes up as root - i haven't tried this though, always just "control-r, start-ser" from the command line =)

By Jake W on March 3 2022

Answers related to “must do adb kill-server and start-server everytime to recognize android device in ubuntu”

Only authorized users can answer the Search term. Please sign in first, or register a free account.