1. Windows
1.1 Install:
- connect your emulator -> SDK Manager.exe- use adb command:
adb install [ .apk path ] (install)
adb install -r [ .apk path ] (reinstall)
Example:
Notes:
If you install the application on your device viaadb install
you should look for the reinstall option which should be -r
. So if you do adb install -r
you should be able to install without uninstalling before.if you have more than 1 emulator you can use this command:
adb -s emulator-5554 install jsHybugger.apk #emulator-5554 -> target device
Explore My Other Channel for More Cool and Valuable Insights
π Youtube Learn Tech Tipsπ Tiktok
π Facebook:1.2 Unistall:
The app-package name in manifest of your app;(app-package lΓ tΓͺn package khai bΓ‘o trong file manifest trong app c?a b?n)
adb uninstall [ .apk path ] (uninstall)
Example
adb uninstall "com.example.game"
./adb install [ .apk path ] (install)
Thank you for reading this post. I hope you found it helpful and easy to follow. If you have any feedback or questions about
How do you install and uninstall an APK file in the Android emulator ,
please share them in the comments below. I would love to hear from you and discuss this topic further
✋✋✋✋
Webzone Tech Tips Zidane, all things tech tips web development
- I am Zidane, See you next time soon ✋✋✋✋