Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
831 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 Reply

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...