I'm starting to study react native, but whenever I try to start the emulator the error occurs.
C:\Users\MIDIASILK\Documents\Junior\Android\curso-react-native\exercicios>emulat
or -list-avds
Nexus_5X_API_25<br>
Nexus_5X_API_27
C:\Users\MIDIASILK\Documents\Junior\Android\curso-react-native\exercicios>emulat
or -no-snapshot -avd Nexus_5X_API_25
[204]:ERROR:android/android-emu/android/qt/qt_setup.cpp:28:Qt library not found
at ..\emulator\lib64\qt\lib
Could not launch 'C:\Users\MIDIASILK\Documents\Junior\Android\curso-react-native
\exercicios\..\emulator\qemu\windows-x86_64\qemu-system-armel.exe': No such file
or directory
First I tried on my cell phone but it only stays on a red screen when I give the command react-native run-app
.
Then I decided to try the emulator, but I can not start it that way.
So I tried this way:
C:\Users\MIDIASILK\Documents\Junior\Android\curso-react-native\exercicios>C:\Use
rs\MIDIASILK\AppData\Local\Android\Sdk\tools\emulator.exe -avd
Nexus_5X_API_25
But there's a crash called:
Android emulator closed unexpectedly.
Then I tried to run the expo with a usb cable, but whenever I run react-native run-android
my cell gets a red error screen.
Would anyone know why this is happening? I managing to run the expo or the other method would be perfect.
Just remember that my machine has already installed the node, jdk, jdk environment variables and android studio are already defined, python tbm is installed and I installed the packages needed to run the react native.