How to Install apk to Android Devices from Mac OS X

时间:2014-05-26 08:00:20   收藏:0   阅读:273
##adb命令是安装到platform-tools目录中,而非上一步android命令所在的tools目录。
$ cd /opt/local/share/java/android-sdk-mac_x86/platform-tools
##先探测是否可以正确识别设备,有设备号和device字样表示正确识别。
$ ./adb devices
List of devices attached 
01839c14	device
##安装apk软件,本例中安装的是高德移动导航
$ ./adb install /tmp/Autonavi_v1.2.apk3225 KB/s (4027409 bytes in1.219s)
	pkg:/data/local/tmp/Autonavi_v1.2.apkSuccess

How to Install apk to Android Devices from Mac OS X,布布扣,bubuko.com

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!