#连接模拟器
adb connect 127.0.0.1:21503 #以下为各大端口号 adb devices #查看连接 adb shell #进入linux系统后台 --注意需要开启模拟器的usb的调试功能 adb -s emulator-5554 shell #指定地址和端口进行shell