ReferenceError: Can't find variable: __fbBatchedBridge

后端 未结 8 2001
花落未央
花落未央 2021-02-05 00:55

Using just the default code from react-native init AwesomeProject, when I run the app I get the \'ReferenceError: Can\'t find variable: __fbBatchedBridge (line 1 in

8条回答
  •  北海茫月
    2021-02-05 01:14

    I encountered this when I had specified different react native versions in my packages.json and my build.gradle file. Making sure they matched, running npm update, and rebuilding from android studio fixed the issue for me.

提交回复
热议问题