Open oracle virtual machine
Open file preferences
Click on left panel network
Open tab host only network
Right click on vboxnet0
Open dhcp server
Server address 192.168.1.110
Lower address bound 192.168.1.101
Upper address bound 192.168.1.119
Add host entry in android device
emulator -avd myAvdNameHere -partition-size 128
adb remount
adb pull /system/etc/hosts c:\temp
add your virtual host entry and
adb push c:\temp\hosts /system/etc
Open file preferences
Click on left panel network
Open tab host only network
Right click on vboxnet0
Open dhcp server
Server address 192.168.1.110
Lower address bound 192.168.1.101
Upper address bound 192.168.1.119
Add host entry in android device
emulator -avd myAvdNameHere -partition-size 128
adb remount
adb pull /system/etc/hosts c:\temp
add your virtual host entry and
adb push c:\temp\hosts /system/etc