The app opens fine on the emulator (I initialized a new app to make sure there was nothing wrong with the app) App Running Androidīut on the Metro window, it did not install the app and when I try to reload it says it cannot detect any running apps Metro Restart I boxed the line where it launches its own JS server instead of using the one that is open. Make sure abd device is running adb devices ![]() Versions (executed at project root folder)Įmulator -avd Galaxy_Nexus_Android9 -no-snapshot This would allow me to make changes to the code and "fast refresh" the application in the emulator/phone and logs got outputted to the Metro Server. To test and debug my android build for a react-native project I had an emulator running in one Powershell window, would start a metro server in a second Powershell window using npx react-native start then run the app in a third powershell window using npx react-native run-android it would go through the build and install the app, then it would "pass" the app to the react-native metro server then that would install it to the emulator. I need it to fast refresh for development purposes.Īlready tried the steps on issue: Unable to load script from assets on windows Even though I have metro running npx react-native start when I run npx react-native run-android it starts it's own metro server and does not allow me to do "fast refresh" it basically installs the debug build of the app onto the device. ![]() Issue: This broke with no changes between days.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |