I want to write files to the application data folder / data / [package name] from adb and for this application to read these files.
I know that in debug builds I can use the run-as [package name] command to run-as [package name] as this application and write the files as above.
When I run the above command in the release build, I get run-as: Package '[package name]' is not debuggable .
Is there a way to overcome this problem on the root device without setting debuggable = true?
source share