Method of installing and uninstalling APK package on Android simulator
•
Android
Simulator (emulator. Exe)
You can find the running file (F: gphoneandroid SDK windows-1.0_r1 tools) in the tools folder under the installation directory of the Android SDK, and double-click to run the simulator.
Install APK package
adb install [-l] [-r]
- push this package file to the device and install it <'-l' means forward-lock the app> <'-r' means reinstall the app,keeping its data>
For example: ADB install F: gphonemycodehelloide inHelloAndroid.apk
View installation location
adb shell
#cd data
#cd app
#ls
Displays installed APK packages
com.android.hello.apk
Uninstall APK package
adb shell
#cd data
#cd app
#ls
# rm com.android.hello.apk
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码