yarn android
Run the command below, the apk should appear in ./app/build/outputs/apk
cd android
./gradlew assembleRelease
Run the command below, the apk should appear in ./app/build/outputs/bundle
cd android
./gradlew bundleRelease
cd android
./gradlew clean
Gradle is used to build the android bundle. The gradle wrapper(gradlew) is used to wrap gradle execution with a specific gradle version To upgrade the version of gradle used to build the android app: use the wrapper task:
cd android
./gradlew wrapper --gradle-version 7.2
To upgrade the gradle wrapper itself, run the above command again
./gradlew wrapper --gradle-version 7.2