DEV Community

ncutixavier
ncutixavier

Posted on

Steps to Generate APK with Expo - React Native

Ensure Your App is Ready for Build:

  • Ensure your app is configured correctly and works as expected in development.
  • Ensure that all assets and code are correctly set up.

Install Expo CLI (if not already installed):

If you don’t have the Expo CLI installed yet, run the following command:

npm install -g expo-cli
Enter fullscreen mode Exit fullscreen mode

Login to Expo

If you don't have an account on expo, sign up here https://expo.dev/signup, and ensure you're logged in to Expo.

Then, You can log in using:

expo login
Enter fullscreen mode Exit fullscreen mode

Install EAS CLI (Expo Application Services):

Run the following command to install EAS CLI globally:

npm install -g eas-cli
Enter fullscreen mode Exit fullscreen mode

Verify the installation by running the following:

eas --version
Enter fullscreen mode Exit fullscreen mode

Once installed, you can proceed with the APK build command:

eas build --platform android
Enter fullscreen mode Exit fullscreen mode

Let me know in the comments how it goes.
Happy Coding!

Top comments (0)

Cloudinary image

Optimize, customize, deliver, manage and analyze your images.

Remove background in all your web images at the same time, use outpainting to expand images with matching content, remove objects via open-set object detection and fill, recolor, crop, resize... Discover these and hundreds more ways to manage your web images and videos on a scale.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay