简体   繁体   中英

Android: app shut down in debug process

This is an issue with Android Studio settings or something else I don't know? When I debug the app and at some debug breakpoint(Breakpoint is not fixed for every shut down it varies every time) it shut downs the app and never shows in debugging choose process dialog. To get it again in the debug process I need to run the app again.

Why this all is happening, Is there any Android Studio settings required to stop this all happen?

My Android Studio version is 2.2.1. Any help will be appreciated.

adb install -r applicationname.apk -- the -r option says to replace the existing app. If you don't use -r, you must increase the version in your manifest in order to install over the top of the previous one.

(or)

adb - How to reinstall an app, without retaining the data?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM