其他分享
首页 > 其他分享> > 2021-06-11

2021-06-11

作者:互联网

**

ubuntu下使用android emulator出现system read-only

**
在ubuntu下编译完成android源码后就可以使用emulator进行驱动测试,当使用到adb push时,会出现Read-only file system;
网上很多回答是使用adb root ,adb remount, adb reboot等命令,但是测试下来发现都无法成功;
最后查看emulator的help发现在启动时可以使用-writable-system使用的system目录变为rw格式,尝试后发现成功了.
步骤为:
emulator -writalbe-system &
adb root
adb remount
adb push xxx xxx

标签:11,06,system,remount,only,adb,emulator,使用,2021
来源: https://blog.csdn.net/weixin_39874720/article/details/117828006