I want to access localhost from android studio emulator or from genymotion without typing the IP address instead typing as localhost or as domain name.
If you are into web development you could under stand more like we assign domain for IP in the C:\Windows\System32\drivers\etc\hosts
file in windows system.
I tried out steps from some blogs but couldn't figure it out.
Please do help me out. Thanks!