1、低版本(tools版本)
打开虚拟机后,在命令行输入以下内容即可。
adb root
adb remount
2、高版本
上面方法不可行,显示:

可以使用命令
emulator -help
显示:

有参数
-writable-system
运行下述命令,打开虚拟机
emulator -writable-system -avd avd_name

显示:WARNING: System image is writable
然后在执行
adb root
adb remount
即可。
欢迎交流~
网友评论