e:
cd E:\android\android-sdk-windows\tools
adb -s emulator-5554 install myRadio.apk
参考
http://www.cnblogs.com/jqyp/archive/2010/09/10/1823539.html
1、获取模拟器/设备列表
1 | adb devices |
2、指定device来执行adb shell
1 | adb -s devicename shell |
例如:
1 | adb -s emulator-5554 shell |
在多device的时候,执行adb命令一般都需要用参数-s指定device。例如卸载emulator-5554上的包com.soft.camera
1 | adb -s emulator-5554 uninstall com.soft.camera |