Skip to content

react native 配置方面的问题汇总

Published: at 07:44 AM | 1 min read

unable to load script from assets index.android.bundle

Could not connect to development server

如果是真机调试,在命令行中执行如下命令: adb reverse tcp:8081 tcp:8081

注意,如果命令行中找不到这个命令,可以cd到Android\sdk\platform-tools目录下再执行