Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Restart ADB from Android Studio

I previously developed on Eclipse and just migrated to Android Studio. Everything works fine, it's better and faster.

I work on real device, and Android Studio recognizes it without issue.

But when I disconnect and reconnect my device, it doesn't recognize my device anymore, I have to exit and restart Android Studio.

I can't find a way to "Reset adb" like Eclipse Feature.

Reset ADB from within Eclipse

Can ADB be restarted from within Android Studio? If so, how?

like image 965
Adrien Cerdan Avatar asked Mar 26 '14 16:03

Adrien Cerdan


People also ask

How do I start and stop adb server?

To stop the adb server, use the adb kill-server command. You can then restart the server by issuing any other adb command.

How do I open adb on Android?

To use ADB with your Android device, you must enable a feature called “USB Debugging.” Open your phone's app drawer, tap the Settings icon, and select “About Phone”. Scroll all the way down and tap the “Build Number” item seven times. You should get a message saying you are now a developer.


Video Answer


1 Answers

What I usually do when I get this error is restarting the adb server by typing in the command into Terminal:

adb kill-server adb start-server 

However this can be achieved in Android Studio. Clicking the Monitor button you can launch the same program you have referenced from Eclipse.

Monitor


monitor 2

If you do not see this you may need to update your Platform Tools from the SDK Manager button.

enter image description here

like image 56
Andrew Gable Avatar answered Sep 30 '22 13:09

Andrew Gable