C:\Users\Administrator>emulator -avd test2 -memory 288 -partition-size 256
C:\Users\Administrator>emulator: warning: opening audio input failed
C:\Users\Administrator>
C:\Users\Administrator> adb root
adbd is already running as root
C:\Users\Administrator> adb remount
remount succeeded
C:\Users\Administrator> adb pull /system/etc/hosts c:/hosts
4 KB/s (25 bytes in 0.005s)
C:\Users\Administrator> adb push c:/hosts /system/etc/hosts
6 KB/s (72 bytes in 0.011s)
C:\Users\Administrator> adb shell
root@generic:/ # cat /system/etc/hosts
cat /system/etc/hosts
192.168.52.225 compass.vis.vip.com
192.168.202.25 mportal.vis.vip.com
root@generic:/ #
emulator -avd test2 -memory 288 -partition-size 256
ping 127.0.0.1 -n 70 >nul
cd D:\work_tool\adt-bundle\adt-bundle-windows-x86_64-20130917\sdk\platform-tools
adb start-server
adb root
adb remount
adb shell
echo 192.168.52.225 compass.vis.vip.com>>/system/etc/hosts
echo 192.168.202.25 mportal.vis.vip.com>>/system/etc/hosts
echo -e \\n >> /system/etc/hosts
cat /system/etc/hosts