Android无法制作和chown / acct / uid_10064:模拟器中的只读文件系统

时间:2022-03-31 18:59:54

I am trying to run a video stored locally in android

  • I am able to play video in device

    我可以在设备中播放视频

  • I am not able to run in android simulator

    我无法在Android模拟器中运行

Video is not running, I am getting the error

视频没有运行,我收到错误

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

How to resolve this, Any settings change I need to do in android simulator

如何解决这个问题,我需要在android模拟器中进行任何设置更改

2 个解决方案

#1


0  

  1. Add path (sdk\platform-tools) into your environment values(D:\AndroidSDK\platform-tools).
  2. 将路径(sdk \ platform-tools)添加到您的环境值(D:\ AndroidSDK \ platform-tools)中。

  3. Enter into "cmd"
  4. 进入“cmd”

#adb shell
#su
#chmod 777 /data  (change the folder data to rwx)
  1. Enjoy yourself. You change other folder.
  2. 玩的开心。您更改其他文件夹。

#2


0  

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

我通过删除模拟器(模拟器)然后重新创建它来解决这个问题。

#1


0  

  1. Add path (sdk\platform-tools) into your environment values(D:\AndroidSDK\platform-tools).
  2. 将路径(sdk \ platform-tools)添加到您的环境值(D:\ AndroidSDK \ platform-tools)中。

  3. Enter into "cmd"
  4. 进入“cmd”

#adb shell
#su
#chmod 777 /data  (change the folder data to rwx)
  1. Enjoy yourself. You change other folder.
  2. 玩的开心。您更改其他文件夹。

#2


0  

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

我通过删除模拟器(模拟器)然后重新创建它来解决这个问题。