Building App on Android

Guideline for building an App on Android

Build for Android

For building App on Android, make sure you are at the right folder i.e TradeBakerZ/ and open Terminal / CMD.

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.

  1. Open Android Studio.

  2. Click "Open an existing Android Studio project", select the TradeBakerz/android folder and click open.

  3. Click the green play button to build the app.

  4. Select the required emulator and click ok .

  5. Navigate the app via the emulator.

Last updated