Android“无法获得BatchedBridge,请确保您的捆绑包已正确打包" [英] Android "Could not get BatchedBridge, make sure your bundle is packaged properly"
问题描述
我在这里运行代码 http://rationalappdev.com/react-native-list-app-complete-how-to-guide/,但收到错误无法获得 BatchedBridge,请确保您的包已正确打包"
.
I am running the codes here http://rationalappdev.com/react-native-list-app-complete-how-to-guide/, but got the error Could not get BatchedBridge, make sure your bundle is packaged properly"
.
我搜索并尝试了很多方法,但仍然出现错误.例如在终端上,运行 react-native start --reset-cache
在另一个终端中,运行 react-native run-android
I searched and tried lots of methods, but still got the error.
e.g.
In on terminal, run react-native start --reset-cache
In the other terminal, run react-native run-android
我的安卓是ASUS_X008DC - 7.0
.
谢谢
推荐答案
我对react"有同样的问题:16.11.0",react-native":0.62.2",我删除了位于 project/android/build 中的构建文件夹,并使用 react-native run android
做了 npm start
并且它工作了
I had this same issue with "react": "16.11.0", "react-native": "0.62.2", I deleted my build folder located in project/android/build and did npm start
with react-native run android
and it worked
这篇关于Android“无法获得BatchedBridge,请确保您的捆绑包已正确打包"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!