I'm developing an android application which writes some json files into the external storage. For development I want to have a look for the written json files.
I know that I can view these files with root access in /data/data/package-name/
.
But how can I get root access on the Android 7.0 Emulator?
I already tried the su command in the adb shell and also adb root - but then I get this error message: adbd cannot run as root in production builds
Maybe you have some advice?