The AVD uses Google DNS (reason - no fscking idea).
Ensure the emulator cmd is in the PATH.
export PATH="~/Library/Android/sdk/emulator:${PATH}"
check
which emulator
emulator -list-avds
--
start the required emulator with 4x8 DNS:
emulator @<name> -dns-server 8.8.8.8
--
npx react-native run-android
connects to the emulator ...but now, of course, you'll get a different error :P
jhakas ;)
Comments
Post a Comment