Reputation: 41
I just start learning react-native. when I trying to run the react-native run-android command it is showing error about android emulator.
Please help me to run my first react native app on Genymotion.
Upvotes: 3
Views: 18686
Reputation: 31
in gradle-wrapper.properties change distributionUrl=https://services.gradle.org/distributions/gradle-6.3-all.zip
from 5.x
Upvotes: 1
Reputation: 3159
simple way: first connect and android device or run an android emulator then do this steps
1- open android studio
2- click on File->open->navigate to to your react-native project and choose android folder
3- comeback to cmd and run react-antive order again
4- react-native run-android
Upvotes: 2
Reputation: 126
Steps to setup for React Native with GenyMotion on MAC Machine
after these steps, on Terminal fire : npm run android
This has worked for me !
Upvotes: 0
Reputation: 1
First of all you have to installed genymotion plugin on android studio. After that please run genymotion emulator.
And please open android studio and android project of created RN app. The relevant gradle version will be downloaded and synchronized.
And then run command "react-native run-android".
Upvotes: 0