Skip to content

Conversation

@orbitstabilizer
Copy link
Contributor

Close #658

This is different from #672, it builds apk in a containerized environment. Gradle build takes lots of memory, I wouldn't recommend using this in an actual built workflow.
Just use following:

cd mobile/nutrihub/
RUN npx expo prebuild --platform android --clean
cd android
./gradlew assembleRelease

in the end the apk is at android/app/build/outputs/apk/release/app-release.apk

Copy link
Contributor

@onurkck928 onurkck928 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I followed the above steps and the apk file is produced as you described. Thanks

@onurkck928 onurkck928 merged commit 88b4bc8 into main Nov 24, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dockerized build for mobile

3 participants