Build App on Android
For building App on Android, make sure you are at the right folder i.eTradeBakerZ/
and open Terminal.
Install the The Node Package Manager by running command
npm install
Now, clean the gradle file by following below steps:
- Go to TradeBakerZ/android and open up Terminal/CMD.
- Run the following command.
gradlew clean
Now fo running app on an Emulator or an Android Device, follow below steps
- Go back to the Main folder i.e.
TradeBakerZ/
- Open Terminal/CMD
- Connect any Android Device or start an Android Emulator
- Run the following command.
react-native run-android
Run on Android Studio
Once the project is build successfully, follow below steps for running project on Android Studio.
- Open Android Studio.
- Click "Open an existing Android Studio project", select
TradeBakerz / android
folder and click open. - Click the green play button to build the app.
- Select the required emulator and click ok .
- Navigate the app via the emulator.