5

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.

Ready Android
  • 3,529
  • 2
  • 26
  • 40
  • Check the http://stackoverflow.com/questions/19517480/android-studio-debug-application-on-device – Manikandan K Nov 25 '16 at 09:29
  • @Mainkandan Yes I checked these all points. My issue happens randomly when I do adb -kill server, uninstall and installing app again, switch off and on phone it resolve issue for some time but it happens again. – Ready Android Nov 25 '16 at 09:34
  • 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. – Manikandan K Nov 25 '16 at 09:37

1 Answers1

0

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?

Community
  • 1
  • 1
Manikandan K
  • 911
  • 9
  • 21