Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android failed to make and chown /acct/uid_10064: Read-only file system in emulator

I am trying to run a video stored locally in android

  • I am able to play the video on the actual device.

  • I am not able to run it on the android simulator.

The Video is not playing, I am getting the error below

failed to make and chown /acct/uid_10064: Read-only file system

How will I resolve this? Are there any settings that I need to change on the android simulator?

like image 629
Devrath Avatar asked Apr 12 '17 08:04

Devrath


2 Answers

I've solved this by deleting the simulator(emulator) and then recreating it.

like image 127
andrei Avatar answered Sep 27 '22 19:09

andrei


  1. Add path (sdk\platform-tools) into your environment values(D:\AndroidSDK\platform-tools).
  2. Enter into "cmd"
#adb shell
#su
#chmod 777 /data  (change the folder data to rwx)
  1. Enjoy yourself. You change other folder.
like image 25
Dad Avatar answered Sep 27 '22 17:09

Dad