Loading...

Build App for Android

How to build the app for Android?

This chapter will intro how build the app for Android, we have 2 ways:

1. Build app via Android Studio

  1. Open Android Studio (In our case, we used version 3.1.3).
  2. Click “Open an existing Android Studio project” and select the android folder then click open.
  3. Select the required emulator and click ok (In our case, we used Nexus 5X API 28 x86).
  4. Click the green play button to build the app.
  5. Navigate the app via the emulator.

To build the app for Android via Android Studio, follow these steps:

1. Open Android Studio:

2. Click “Open an existing Android Studio project” and select android folder then click open:

 

3. Choose the required emulator and click Play button:

 

4. Click the green play button to build the app:

 

5. Navigate the app via Android emulator.

 

2. Build app via Terminal

* Please ensure that when you open the file, you are at the right folder.

To build the app for Android via Terminal, follow these steps:

1. Open 2 terminal and access to the right your folder app via this code:

  1. cd app/app-zapes
2. Please ensure you open the your emulator frist. For us, we run this code:
  1. emulator @Pixel_2_API_24
3. In the frist terminel, you run this code to open npm package:
  1. npm start
4. In the second terminel, you run this code to open app on emulator:
  1. react-native run-android
5. After app building success, you can see this:

Thank you.

About zsadmin

Think different - Steve Jobs

We use cookies to improve your experience on our website. By browsing this website, you agree to our use of cookies.