岁数大了,QQ也不闪了,微信也不响了,电话也不来了,但是依旧坚持为大家推荐最精彩的内容,下面为大家精心准备的在Android 模拟器上安装和卸载APK包的方法,希望大家看完后能赶快学习起来。
模拟器(emulator.exe)
可以在AndroidSDK 的安装目录下的 tools 文件夹找到运行文件(F:GPhoneandroid-sdk-windows-1.0_r1 ools),双击运行模拟器。
安装 APK 包
adb install [-l] [-r]
- push this package file to the device and install it
-l means forward-lock theapp
-r means reinstall the app, keeping its data
例如:adb install F:GphoneMyCodeHelloAndroidinHelloAndroid.apk
查看安装位置
adb shell
#cd data
#cd app
#ls
显示已经安装的 APK 包
卸载 APK 包
adb shell
#cd data
#cd app
#ls
# rm