Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
825 views
in Technique[技术] by (71.8m points)

eclipse - 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?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...