所以我对我的平板电脑进行了愤怒震动,在开发设置中,我的JS开发模式仍然是真的,实时/热重新加载不起作用。有趣的是,当我在同事的Mac上运行这个应用程序时(相同的型号和所有的东西)-它工作得很好。
我不知道为什么会发生这样的事情。
我试过了:
cd android && ./gradlew清理,然后cd ..&& react-native run-android
https://github.com/expo/expo/issues/916
还有:
rm -rf node_modules && npm安装cd android && ./gradlew
React-Native Module HMRClinet is not a registered callable module(calling enable)
导入com.facebook.react.BuildConfig;react-native run-android
Unable to load script from assets index.android.bundle on windows
上述解决方案都不起作用。
你们知道我怎么解决这个问题吗?
发布于 2019-03-01 06:54:27
此问题是由于开发服务器错误造成的。
请按照以下步骤解决此问题。
步骤1:
adb kill-server adb start-server然后检查您的设备/仿真器在命令提示符上是否可见。
adb设备第2步
清理您的gradle编译器文件,某些文件可能已损坏。
android/gradlew清理步骤3:
从设备/仿真器中删除应用程序。
第4步:
react-native run-android Now问题将得到解决:)
React-Native Module HMRClinet is not a registered callable module(calling enable)
https://stackoverflow.com/questions/54935132
复制相似问题