I'm trying to extract the database file from my Android device (non rooted Exynos Galaxy S9 running One UI 2.0) and every time I open up Android Studio 3.6.2 -> Device File Explorer I get the message "run-as package: not debuggable".
This happens to every app I have in the list, not just the one i'm interested in.
Also, this issue persists with adb shell.
Can anyone help? (sorry if this has incomplete information or was posted in the wrong section)
To start debugging an APK, click Profile or debug APK from the Android Studio Welcome screen. Or, if you already have a project open, click File > Profile or Debug APK from the menu bar. In the next dialog window, select the APK you want to import into Android Studio and click OK.
Show activity on this post. By putting android:debuggable="true" in your manifest file, application will go in debug mode, that means android will manage all logs file regarding your application. But make sure put it again false (or remove this tag) if application will going to live or for release mode.
If application is not debuggable then try with this add command once,
adb backup -noapk <give your package name>
it uses android's backup function. if it ask for a password then don't give any and click on "backup data". then you will get a whole apps backup on your system. unzip it and check for your db. I am not sure if this will work if there is allowBackup=false in your manifest.
Try this command once.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With