react native generate apk for different android version code example
Example 1: react-native make android apk
cd android && ./gradlew assembleRelease
Example 2: react native release apk command
npx react-native run-android --variant=release
cd android && ./gradlew assembleRelease
npx react-native run-android --variant=release