crazycodeboy / GitHubPopular

这是一个用来查看GitHub最受欢迎与最热项目的App,它基于React Native支持Android和iOS双平台。#适配RN最新版在这里☞#

Home Page:http://coding.imooc.com/class/304.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

连接不到模拟器(android)

Antine opened this issue · comments

commented

adb devices 显示已经连接到模拟器
正常编译,安装后运行只能进入这个界面
screenshot_1508837871

然后报错界面
screenshot_1508837352

commented

一样的错误!看到有方案是修改:\node_modules\react-native\Libraries\Core\InitializeCore.js的代码,可是压根没找到这个文件!求解答!

commented

换个高版本的模拟器,5.1 或者6.0的。

commented

@Antine 用的就是6.0的模拟器。会是node的问题吗?

你好 在Android6.0的genymotion模拟器上也遇到了上面相同的问题 如何处理?

+1

+1

U can modify the version of "react-native" to be "0.38.0" && "react" to be "^15.4.0" && "react-dom" to be "^15.4.0",then execute command "npm install" && "react-native run-android", it works for me, hope to help you!