Guideline for building an App on Android
For building App on Android, make sure you are at the right folder i.e TradeBakerZ/ and open Terminal / CMD.
TradeBakerZ/
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.
TradeBakerZ/android
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
react-native run-android
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 the TradeBakerz/android folder and click open.
TradeBakerz/android
Click the green play button to build the app.
Select the required emulator and click ok .
Navigate the app via the emulator.
Last updated 7 years ago
Was this helpful?