How can I generate apk file for create-react-native-app (using EXPO.IO component)

  1. Install expo cli globally npm install -g exp
  2. Run exp build:android or exp build:ios inside the project
  3. Choose some expo options
  4. Wait few minutes

A build link should be printed in the terminal. For the next steps see this thread: Created an app with create-react-native-app, how to publish it to the Google Play Store?


  1. Install npm install -g exp

  2. edit app.json file in our project

    {
    "expo": {
    "name":"my app",
    "icon":"./logo.png",
    "description":"some description about our project",
    "sdkVersion": "27.0.0",
    "android":{
         "package":"com.johncy.myapp",
          "versionCode":1 , 
          "icon":"./logo.png"
              }
             }
    }
    
  3. give the command in our project directory exp build:android

  4. Just wait for few mins.It will give an url for our build project.We can download *.apk file from that link.