Metro doesn't see Android Emulator of react-native app (for mac m1)

I can't understand what the problem is, I switched to a macbook air m1 and I'm trying to run react-native app through a separate android emulator for m1 which I downloaded here: (https://github.com/google/android-emulator-m1-preview/releases/tag/0.3 ), using the react-native run-android command. The app builds, but the Metro in the opened terminal does not see it and cannot reload it. Moreover, when you try to open the application, it gives the error "nameOfapp keeps stopping" and the application immediately closes on the emulator.

However, if I try to run the react-native run-android --variant=release command, it loads it and builds the app and I can fully use it but Metro still doesn't see it, so I can't immediately see the changes I'm making.


Ответы (0 шт):