skip to Main Content

I have made the changes in source code. when running it in debug mode it’s working fine changes are. working there. After taking the release build changes are not reflecting in it. why ??? Android build

3

Answers


  1. Chosen as BEST ANSWER

    react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle

    run this command.. may be it's sounds weird but it's work for me

    reference : https://stackoverflow.com/a/60015205/6654562


  2. Before Trying to build APK run gradlew clean and clean the gradle folder this will remove all the previous builds. Then try to build the release APK

    Login or Signup to reply.
  3. You need to build->clean then build->rebuild project in android studio

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search