首页 > 技术文章 > Cannot find entry file index.android.js in any of the roots:[ Android ]

honeynm 2018-05-08 15:29 原文

 

Changed the version of react project to a lower one from here

npm install -g rninit

rninit init [Project Name] --source react-native@0.40.0

Worked okay for both on both iOS and Android on . If you get Error Could not get BatchedBridge. run this

adb reverse tcp:8081 tcp:8081

This worked for me.

推荐阅读