简体   繁体   中英

Running “adb shell” restarts ADB

I am using Android Studio 2.2.3. Everything is up to date. Running "adb shell" on Terminal in Android Studio generates the following:

adb server is out of date.  killing...
* daemon started successfully *
error: device not found

To reconnect the device, I have to run "adb kill-server" first.

This makes running shell commands impossible.

Could anyone offer a tip on how to fix this?

From Android Studio Terminal run

$ $ANDROID_HOME/platform-tools/adb shell

this ensures you will be using the same adb .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM