0

Just started trying to use the android monkey tool, and it's working fine, except that for during the run it prints thousands of lines of the following:

java.io.FileNotFoundException: /mnt/sdcard/scriptlog.txt (Permission Denied)

Why would it fail to write to the /mnt/sdcard? Is there an option to write to a different directory on the host machine, or to disable the log entirely?

If it matters, my device is not rooted.

I also tried running the command in a windows administrator shell, but it did not help.

Tim
  • 35,413
  • 11
  • 95
  • 121
  • Have you given File Permission `` in AndroidManifest.xml ? – Lucifer Oct 20 '12 at 15:46
  • My app has `WRITE_EXTERNAL_STORAGE` permission for other reasons, but I didn't think this would matter. The app can't even read/write the external storage because it's currently mounted on the pc host running monkey. I guess it would be `adb` or the monkey tool trying to write the log? – Tim Oct 20 '12 at 15:48

0 Answers0