How to Install apk to Android Devices from Mac OS X

##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

How to Install apk to Android Devices from Mac OS X

上一篇:编译Android技术总结


下一篇:ios粘贴功能