android下修改hosts文件的方法
摘要:具体步骤如下1、获得root权限:adbroot2、设置/system为可读写:adbremount3、将hosts文件复制到PC:adbp...
具体步骤如下
1、获得root权限:adb root
2、设置/system为可读写:adb remount
3、将hosts文件复制到PC:adb pull /system/etc/hosts e:hosts
4、修改PC机上文件
5、将PC机上文件复制到手机:adb push e:hosts /system/etc/hosts
但在第五步时,有的人会报 out of memory的错误
这是因为直接用命令行启动,而没加一个参数造成的,但是用下面这个命令来启动就行了
emulator -avd Android2.1 -partition-size 128
【android下修改hosts文件的方法】相关文章:
★ windows phone微信怎么使用 windows phone微信使用方法
★ 滴滴拼车怎么用