Konubinix' opinionated web of thoughts

Edit /Etc/Hosts File in Android Studio Emulator Running

Fleeting

  1. android-sdk-macosx/tools/emulator -avd <avdname> -writable-system
  2. ./adb root
  3. ./adb remount
  4. ./adb push <local>/hosts /etc/hosts

https://stackoverflow.com/questions/41117715/how-to-edit-etc-hosts-file-in-android-studio-emulator-running-in-nougat