-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
day5中代码报错 #56
Comments
我也是 |
你解决了吗 |
@1048034876 @caixindong 你好打扰了,我复制项目下来,在运行react-native run-android的时候出现了如下错误,你能给予我一些帮助么
|
这是因为版本更迭问题,RN从0.43(包括0.43)之后就取消了MapView,无法使用了~~~ |
官方建议使用react-native-maps代替此地图组件 |
@FarEnoughStone 并没有太懂,我不是第五天的demo进不去,而是到现在项目都没有跑起来,你有什么好的方法么 |
。。。安照这个一步步来就可以了呀,官方教程很明白的 |
我想你可能吧问题想简单了,我先说明下,我自己写的demo能够跑起来,但是我想尝试他的demo就遇到了我在此之前发的一个突破,哪里有我的错误,但是我并不能很好的解决这个报错 @FarEnoughStone |
感觉他的index.android.js文件有问题,我第一次也跑也是同样的问题,不过后来我就把day1,day2...提取出来分开跑了 |
运行会提示 React.createElement: type is invalid -- expected a string or a class/function but got: undefined,我尝试只用最简单的mapview作为内容,但是只要有这个组件就会有这个错
The text was updated successfully, but these errors were encountered: