Search code examples
androidreact-nativeexpo

How to build Expo APK local


Is it possible to build the APK of an expo app locally?

The doc says:

If you haven’t used exp before, the first thing you’ll need to do is login with your Expo account using exp login.

I tried exp start, exp build:android but the commands require a login.

I don't want to build the APK using expo server. Is there a way to run this build locally? So no login and push of source code required?

If not, can I view the whole source code of the generated APK?


Solution

  • New to the party, so guessing this wasn't available at the time of the post - Instructions for building expo apps locally: Building Standalone Apps on Your CI

    Update Jan, 2023:

    You may want to check out the updated version:

    This doc was archived in August 2022 and will not receive any further updates. SDK 46 is the last SDK supported by Classic Builds and the Classic Build service will stop running for all SDK versions after January 4, 2023. Check out Running builds on your own infrastructure and Triggering builds from CI.