废话不多说,直接上代码
首先不要通过AS启动模拟器
进入你的SDK/tools文件夹:
命令行敲:(我的emulator是Nexus_6_API_24,你们的自行更换)
emulator.exe -writable-system -avd Nexus_6_API_24 -no-snapshot-load -qemu
启动后,常规操作了
adb root
adb remount
adb shell
su
chmod 777 system
mount -o rw,remount -t auto /system
搞不好你来打我!!