-2

I have installed my android app in my device. But getting "Unfortunately, app has stopped."

How can I debug the installed app? Is it possible to debug the app directly installed in the device?

Since code is not available with me

Gnik
  • 7,120
  • 20
  • 79
  • 129
  • you can see the log in the android studio even if you don't have the source code, just set the logcat filter to "No Filter" – Atiq Oct 31 '17 at 21:36
  • 3
    Possible duplicate of [Unfortunately MyApp has stopped. How can I solve this?](https://stackoverflow.com/questions/23353173/unfortunately-myapp-has-stopped-how-can-i-solve-this) – David Rawson Oct 31 '17 at 23:14

1 Answers1

3

You can't connect debugger to an application if it uses a release build type where all of the information necessary for debugging is stripped out (true for apps from play market).

If you don't want to use a debugger but just to see logs you may see log in android studio or just by running adb logcat in terminal.

Android Studio 3.0 also has a feature of Profile and Debug Pre-built APKs but only if they were built with debugging enabled

Vishal Yadav
  • 3,642
  • 3
  • 25
  • 42
Daniil
  • 1,290
  • 11
  • 17