【发布时间】:2016-12-14 09:31:47
【问题描述】:
我尝试编辑 android 模拟器的主机文件。我按照以下步骤操作:
step1
adb root
step2
adb remount
step3
adb pull /system/etc/hosts .
然后我为客户主机信息添加新行,然后我推送主机文件,我得到一些错误:
step4
adb push hosts /system/etc/hosts
错误信息:
adb: error: failed to copy 'hosts' to '/system/etc/hosts': couldn't create file: Read-only file system
环境信息:
osx ei capitan
android emulator: android 7.1.1
android studio: 2.2.2
【问题讨论】:
标签: android