create apk react native cli code example
Example 1: react native create apk
Place your terminal directory to android using:
cd android
)================
For Windows,
gradlew assembleRelease
)=================
)=================
For Linux and Mac OSX:
./gradlew assembleRelease
)==================
Example 2: react native release apk command
npx react-native run-android --variant=release