ADB: running the application on the root device in the release build

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?

+5
source share

Source: https://habr.com/ru/post/1264532/


All Articles