How do I build an apk version of my react Native app bare workflow.

I am working with the bare workflow of react Native.

However, I want to create an apk of the app to send to people to test the app

Hi @captaineboy

As far as I know you should just be able to build the preview profile:

eas build -p android --profile preview

This assumes you’re using the default eas.json which has buildType set to apk. I don’t think you’ll need to tweak gradleCommand, but if so, I believe you would need :app:assembleRelease.

So just try building a preview build. If that fails, maybe look into buildType and/or gradleCommand.

1 Like

Thanks, the above command did the job.

I’ve tried development profile but that didn’t work.

1 Like

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.