Install An Apk
Install an APK on Android#
Use adb install when you have a built APK and want to load it onto a connected Android device or emulator.
Prerequisites#
- Enable developer options on the device
- Enable USB debugging
-
Connect the device and confirm it is visible:
bash adb devices
Install#
adb install my-app.apk
Reinstall while keeping app data#
adb install -r my-app.apk
Reinstall and allow version downgrade#
adb install -r -d my-app.apk
Install on a specific device#
Use this when more than one device or emulator is connected:
adb -s <device-id> install my-app.apk