5
enpega
3y

FUCK ANDROID EMULATOR!
WHY DOES IT HAS TO CONNECT THROUGH GOOGLE'S DNS?
AND AFTER ALL THE FUSS I HAD TO TEST ON A PHYSICAL DEVICE!

Comments
  • 2
    Why would you ever use the emulator? I find it's much much quicker to boot it on a physical device lol
  • 3
    @Elyz pretty much, and to make things easier use scrcpy https://github.com/Genymobile/...
  • 2
    @Elyz I usually boot an emulator, if I need to call against something running locally.
    With a .test domain.

    Takes a little cmds to get it to see it tho.

    Boot avd then
    ```
    adb root
    adb remount
    adb shell
    cat '10.0.2.2 mything.test' >> /etc/hosts
    ```
  • 2
    is it because the emulator is a VM with its own operating system and that's just what android's DNS does?
Add Comment