How to Generate React Native APK — Debug APK test before live?

By admin , 15 January, 2022

Generate Debug APK in 3 steps

step1:  npx 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

step2: cd android

step3: ./gradlew assembleDebug

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.