【发布时间】:2018-08-31 17:51:35
【问题描述】:
我正在尝试将主机文件推送到我的 adb 设备。
所以,我做到了:
[~/Library/Android/sdk/tools]$ emulator -avd Nexus_5X_API_26_x86 -writable-system
emulator: WARNING: System image is writable
emulator: ### WARNING: /etc/localtime does not point to /usr .
/share/zoneinfo/, can't determine zoneinfo timezone name
emulator: ### WARNING: /etc/localtime does not point to
/usr/share/zoneinfo/, can't determine zoneinfo timezone name
现在我在不同的控制台中
adb push hosts /system/etc/hosts
但我得到以下错误:
adb:错误:无法将“主机”复制到“/system/etc/hosts”:远程无法创建文件:只读文件系统 主机:已推送 0 个文件。 0.1 MB/s(0.001 秒内 93 个字节)
有什么建议吗?
【问题讨论】: