1.2Android调试桥(ADB)
存在SDKplatfrom-tools目录中,需要将adb.exe所在目录配置到path环境变量中
ADB的常见指令:
adb start-server:开启adb服务
adb devieces:列出所有设备
adb locat:查看日志
adb kill_server:关闭adb服务
adb shell: 挂载到linux的空间。
adb install:<应用程序(加扩展名)>:安装应用程序
adb – s<模拟器名称>install,应用程序(加扩展名):安装应用程序到指定模拟器。
adbuninstall<程序包名>:卸载指定的应用程序
adb emulator –avd<模拟器名称:启动模拟器