使用android12模拟器push文件时出现“Read-only file system”

19 阅读1分钟

简单记录下遇到的问题:在向模拟器push时出现remote couldn't create file: Read-only file system

我们只需要使用下面命令启动虚拟机:
emulator -writable-system

接着再执行

adb root

adb remount

如果还是不行,再执行下面的

adb root

adb shell mount -o bind /system /system

adb shell mount -o rw,remount /