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.

16 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
  10. React Native App Development Services offer a powerful framework for building cross-platform mobile applications with a single codebase. These services provide a cost-effective solution for creating high-performance apps for both iOS and Android, leveraging reusable components and a rich ecosystem. React Native ensures faster development cycles, smoother user experiences, and seamless integration with native functionalities, making it a popular choice for modern mobile app development.

    ReplyDelete

fixed: embedded-redis: Unable to run on macOS Sonoma

Issue you might see below error while trying to run embedded-redis for your testing on your macOS after you upgrade to Sonoma. java.la...