app debug android and react native code example
Example 1: react native debug apk
cd android && gradlew clean && cd ..
react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res
cd android/
gradlew assembleDebug
(or you can use for release: gradlew assembleRelease)
cd android && gradlew clean && gradlew assembleRelease
Example 2: native run app debug
native-run.cmd android --app platforms\android\app\build\outputs\apk\debug\app-debug.apk