开发者

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

开发者 https://www.devze.com 2022-12-16 21:39 出处:网络
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

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.


Yes, use the adb install -r switch.

Running adb with no options will give help.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号