react-native run-android : do not build/update modified code(App.js)

Solution

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 

c:\Users\lenger\Desktop\webrowser>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
Scanning folders for symlinks in c:\Users\lenger\Desktop\webrowser\node_modules (43ms)
Scanning folders for symlinks in c:\Users\lenger\Desktop\webrowser\node_modules (38ms)
Loading dependency graph, done.
bundle: start
bundle: finish
bundle: Writing bundle output to: android/app/src/main/assets/index.android.bundle
bundle: Done writing bundle output

Run react-native run-android again, you will find your modification work.

Comments

  1. Why did it happen? What if I don't want use this method. I mean, how can I just run normally by type react-native run-android?

    ReplyDelete
  2. If you need to open Facebook marketplace on android then in that case open the Facebook application after that at the top click the “store icon” further click on “categories” then from the list select a category then in the marketplace you can search for a specific item. If you still need information then ask for it from the experts.

    ReplyDelete
  3. Nice work, your blog is concept-oriented, kindly share more blogs like this
    React js Certfication Course

    ReplyDelete
  4. Geek Squad Tech Support helps those customers who face technical issues in own gadgets anytime and unable to sort out at this place Geek Squad Support Team Aid your issues by manually or through the software on Remote. Call on (+1)855-554-9777 for technical issues in Gadgets. https://customer-phonenumber.com/geek-squad-support/

    ReplyDelete
  5. Dev



















































































































    Great job for publishing such a nice article. Your article isn’t only useful but it is additionally really informative. you can visit React native app development services for more information.




    ReplyDelete
  6. Amazing article written, Get to now about:- best online tutoring websites

    ReplyDelete
  7. Thanks for sharing these awesome article I hope that in future you will continue to share these wonderful posts. Thank you for your hard work!!
    react native app development companies

    ReplyDelete
  8. Thanks for share your blog information.Ameotech Informatics is one of the leading mobile app development company in mohali that provide simple,secure, simplifies, and increases the scalability of development.

    ReplyDelete
  9. Thanks for such useful information, and you posted this information, it is very helpful for all of us, to keep updated with your blogs. MobileCoderz is a leading React Native App Development Company providing various types of mobile app development, iOS app development & Hybrid app development solutions, and much more.

    ReplyDelete

Post a Comment

Popular posts from this blog

How to fix error : no module named sendgrid when try to use sendgrid python lib in PHP.

react-native run-android : sun.security.provider.cert path.SunCertPathBuilderException : unable to find valid certification path to req uested target