how can I automatically start my emulator when running the application? if I directly run the react native application ( npx react-native run-android) without manually starting the emulator, it's given me the below-given error.
Am I missing something ?Įvery time I need to open Android studio to start the emulator and then only need to run react native application to run it without any errors. I trying restarting, switching on and off both the Wifi as as well the device. I also tried adding the DNS based on what internet searches revealed. Hw.device.hash2: MD5:6b5943207fe196d842659d2e43022e20Īlthough I am able to run the device, it doesn't have access to internet, nor was its Wifi enabled.Įven if I switch Wifi on, it would switch back off. Image.sysdir.1: system-images/android-S/google_apis/arm64-v8a/ Path: /Users/vineethpalani/.android/avd/Pixel_4_API_S.avd I created the following device based on the instructions from this. Generation Memory: 1280M Cores: 8 Registry:Į.disabled=true I am using a Macbook Pro with the M1 chip.