[英]React Native metro bundler not connecting after install a native dependency on android
After i add this library to my react native project as a native module, my metro bundler wont connect.在我将此库作为本机模块添加到我的 react 本机项目后,我的 Metro 捆绑器将无法连接。
https://github.com/FolioReader/FolioReader-Android https://github.com/FolioReader/FolioReader-Android
react-native 0.61.5 react-native 0.61.5
When I have this error, I uninstall the app from the simulator (or wipe the simulator's memory if you prefer), close the bundler and restart the app.当我遇到此错误时,我会从模拟器中卸载应用程序(或者如果您愿意,可以擦除模拟器的 memory),关闭捆绑程序并重新启动应用程序。 It typically works after that.它通常在那之后工作。
If it's still not working, I do the above and then follow the instructions listed here ( https://gist.github.com/jarretmoses/c2e4786fd342b3444f3bc6beff32098d ) to clean the cache and the restart the app:如果它仍然不起作用,我执行上述操作,然后按照此处列出的说明( https://gist.github.com/jarretmoses/c2e4786fd342b3444f3bc6beff32098d )清理缓存并重新启动应用程序:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.