I use expo.io to run the apps. The browser opens with a barcode that you can then read with the Expo app on Android and the app runs on your Android phone. Because if not, you have to have Android Studio installed and it takes up a lot and is tedious to configure. Expo.io is easy and above all, when it comes to generating the file to upload to Google Play console. The same would happen with iOS, you should have a Mac to run the app and with Expo.io it is not necessary.
The steps:
Facility
npm install --global expo-cli
Create app
expo init calculator42
Start the emulator
cd calculator42
expo start
Build the app to download the .aab file
expo build:android -t app-bundle
Then you go to the web, download the .AAB file and you can now upload it to Google Play Console.
The mistake is that you have not configured the development environment correctly, it is true that with Expo it is much easier to start, however if you are going to develop an app in a more professional way, it is recommended to do it through the react-native CLI.
You have to follow the documentation to the letter. Basically the most important of the documentation are the following things to keep in mind:
NodeJS
Open JDK (Java Development Kit)
AndroidStudio
ANDROID_HOME and JAVA_HOME environment variables
Add platform-tools to the PATH
After making sure you have this properly installed and an ADV (Android Virtual Device) you shouldn't have any problems. There are many items that require React Native to be installed, but believe me, once you have the environment set up, it is very simple.
I repeat, if it is to start and see if you like the language, I recommend that you start with Expo, on the other hand, if you want to develop something not so simple, I recommend the RN CLI.
I use expo.io to run the apps. The browser opens with a barcode that you can then read with the Expo app on Android and the app runs on your Android phone. Because if not, you have to have Android Studio installed and it takes up a lot and is tedious to configure. Expo.io is easy and above all, when it comes to generating the file to upload to Google Play console. The same would happen with iOS, you should have a Mac to run the app and with Expo.io it is not necessary.
The steps:
Facility
Create app
Start the emulator
Build the app to download the .aab file
Then you go to the web, download the .AAB file and you can now upload it to Google Play Console.
The mistake is that you have not configured the development environment correctly, it is true that with Expo it is much easier to start, however if you are going to develop an app in a more professional way, it is recommended to do it through the react-native CLI.
You have to follow the documentation to the letter. Basically the most important of the documentation are the following things to keep in mind:
After making sure you have this properly installed and an ADV (Android Virtual Device) you shouldn't have any problems. There are many items that require React Native to be installed, but believe me, once you have the environment set up, it is very simple.
I repeat, if it is to start and see if you like the language, I recommend that you start with Expo, on the other hand, if you want to develop something not so simple, I recommend the RN CLI.