- adb连接模拟器,需要在模拟器上打开开发者模式,勾选USB调试
- adb连接模拟器
雷电 | genymotion | 谷歌原生
adb connect 127.0.0.1:5555
夜神
adb connect 127.0.0.1:62001
逍遥
adb connect 127.0.0.1:21503
网易MUMU
adb connect 127.0.0.1:7555
天天
adb connect 127.0.0.1:6555
-
查看连接的设备
adb devices
adb devices -l -
platformVersion
Android内核版本号
adb shell getprop ro.build.version.release - appPackage及appActivity
appPackage apk的包名
appActivity apk的launcherActivity
先将模拟器的应用打开
adb shell dumpsys activity | findstr “mResume”
如遇到shell出现:error:device offline提示adb kill-server
adb start-server
adb remount
adb devices -l 再次查看连接adb的设备
暂无评论