0

I want to know can we attach a debugger to an app running on the smartphone which is published over Google Play Store without modifying the original app?

The reasons for asking this is by default the app which is there over Google playstore are non debuggable, i.e in the AndroidManifest.xml file, either they won't have android:debuggable flag or if it is, then it will be set to false

2
  • The debuggable flag from AndroidManifest.xml is saved in some central XML files on your device when you install the app. Therefore on a rooted device you can modify this XML file (not sure which file it was exactly, it is one central file for all apps) and change debuggable to true without changing something on the APK itself.
    – Robert
    Commented Apr 5, 2021 at 11:25
  • @Robert Thanks for your response. May I know the file name. I tried looking into the /data/system/packages.xml but over there there is no information w.r.t whether the app is debuggable or not. Commented Apr 5, 2021 at 18:07

0

You must log in to answer this question.

Browse other questions tagged .