Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can you repeatedly deploy an APK with 'adb install' without uninstalling first?

Since I'm really not a fan of Eclipse I'm developing my Android app by following the rules listed here: http://developer.android.com/guide/developing/other-ide.html

When I'm deploying with the 'adb install' command I have to manually uninstall the APK from the emulator every time or else the install won't work. Is there any way to bypass this? It's fairly annoying having to add this step in every time.

like image 216
Scott Ferguson Avatar asked Jan 18 '10 02:01

Scott Ferguson


People also ask

Can you install APK from ADB?

ADB (Android Debugging Bridge) can be used to execute commands on your VR device. It's mostly used to install applications (APK files) from a Windows PC or Mac with a device connected with USB.

Can not install APK Android?

Why APK won't install on Android? First, make sure that your Android version supports the APK version you want to install. Also, remove the Play Store version of the app before installing an APK. Don't forget to check the storage space and permission to install apps from unknown sources.


1 Answers

Yes, use the adb install -r switch.

Running adb with no options will give help.

like image 76
Alex Volovoy Avatar answered Sep 24 '22 01:09

Alex Volovoy