到adb.exe目录
usb连接手机
adb pull /system/etc/hosts
修改hosts文件
adb push hosts /system/etc/hosts
查看:
adb shell
cat /system/etc/hosts
到adb.exe目录
usb连接手机
adb pull /system/etc/hosts
修改hosts文件
adb push hosts /system/etc/hosts
查看:
adb shell
cat /system/etc/hosts