Android emulator hosts mac

broken image

If you don't already have ADB, you can grab it from Google's developer resource page. The non-root methodįor this method, you will require a computer with the Android Debug Bridge (or ADB) installed on it. While the process isn't exactly rocket science on a non-rooted device either, it's definitely more straightforward on devices that have been rooted. You can go about this process in two ways, depending on whether or not your Android device of choosing is rooted. Whether you're a developer looking to make some DNS tweaks or just a concerned parent looking to block certain sites from their kids, hosts file modifications have got you covered. Editing your hosts file (the file that maps hostnames to IP addresses, for those of you who were previously unaware), is useful for everything from controlling access to websites and network traffic to just mapping addresses to names.