adb connect xxx.xxx.xxx.xxx
adb root
adb remount
#这时候再进去就可以直接改了
adb shell
echo "127.0.0.1 localhost" >> /etc/hosts
Dns 查询测试环境IP地址对应的正式环境IP地址
adb connect xxx.xxx.xxx.xxx
adb root
adb remount
#这时候再进去就可以直接改了
adb shell
echo "127.0.0.1 localhost" >> /etc/hosts
Dns 查询测试环境IP地址对应的正式环境IP地址