React Native NodeJS discussions

React native configuration procedure for Android app

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #122
    Murali
    Keymaster

    create project
    npx react-native init AwesomeProject

    npx react-native start – first window to start react native metro server
    npx react-native run-android – second window to run react native android test in parallel with first window
    Assemble react native app for debug run without metro server
    cd android
    ./gradlew assembleDebug -> for assemble debug standalone

    cd android
    ./gradlew bundleRelease

    Following are commands to test release bundle of react native android app
    npx react-native run-android --variant=release

    Command To run android react native test without jetifier
    npx react-native run-android --no-jetifier

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.