Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 411
Piu130 Avatar asked Nov 22 '17 15:11

Piu130


People also ask

Can you build Expo app locally?

You can run the same build process that we run on the EAS Build servers directly on your machine with the --local flag.


2 Answers

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

like image 111
Oded Ben Dov Avatar answered Oct 19 '22 02:10

Oded Ben Dov


if you want to generate apk eject the CRNA with npm run eject command. Then you will get android and ios folders suppurate in mac and you will get an only android folder in windows. and follow the instruction which is in a given link below

"https://facebook.github.io/react-native/docs/signed-apk-android.html"

like image 5
Gana Avatar answered Oct 19 '22 02:10

Gana