0

Hi I am trying to access my android application db file which is non-rooted device. I tried "run -as" command on windows but it not working. It is giving me following error :

/system/bin/sh: run: not found

Am I doing any thing wrong? Need some help. Thank you.

nilkash
  • 7,408
  • 32
  • 99
  • 176

1 Answers1

0

run-as command was available on Android Device till 2.3 Gingerbread OS. Beyond that this script was no longer available. Either root your device to read them or write a method to copy the database file to /sdcard path or /data/local/tmp and use LauncherAcitivity's oncreate to call that method to make it available on sdcard or tmp path.

EDIT:

run-as is a spaceless keyword. In your question, it seemed to have a space between run and hyphen. Double check it.

Harish Sridharan
  • 1,070
  • 6
  • 10