Skip to content
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

react-native-picker 找不到_init方法 #128

Open
victor-dev opened this issue Mar 2, 2017 · 28 comments
Open

react-native-picker 找不到_init方法 #128

victor-dev opened this issue Mar 2, 2017 · 28 comments

Comments

@victor-dev
Copy link

7779aed6-a1a8-434e-b59c-0d47555712a4
d5a8a1c8-7bc4-4d77-8ab1-9e4aab4bfecb

@codenamenebula
Copy link

请问有解决方案没

@xwenliang
Copy link
Member

确认执行react-native link了吗

@codenamenebula
Copy link

确实是这样,之前执行了无意中unlink了,多谢

@lixingdecai
Copy link

image
也是同样的问题,也执行了react-native link。但是没有找到_init()方法

@lixingdecai
Copy link

image
it can use in android platform, but can not use in IOS

@bingxin-xia
Copy link

Same issue occurred in my project, it works well in Android but not in IOS

@kcmars
Copy link

kcmars commented May 19, 2017

请问这个问题解决了没有,我也遇到了,不知道怎么办呢

@kcmars
Copy link

kcmars commented May 19, 2017

@lixingdecai

@kcmars
Copy link

kcmars commented May 19, 2017

@lixingdecai 请问你的问题解决了没,我现在也遇见了这个问题,不知道怎么办,ios报错,android是正常的

@liukefu2050
Copy link

may be native module not register

@huyanghu
Copy link

原生没有引入库的原因,

@Sura-zm
Copy link

Sura-zm commented Jun 14, 2017

求解,我也遇到相同的问题了,执行了react-native link的

@Sura-zm
Copy link

Sura-zm commented Jun 14, 2017

已解决!!

可以参照这个

@Sura-zm
Copy link

Sura-zm commented Jun 14, 2017

@huyanghu
Copy link

huyanghu commented Jun 14, 2017 via email

@PengSiSi
Copy link

到底怎么解决了?我也遇到这问题..

@Sura-zm
Copy link

Sura-zm commented Jun 28, 2017

http://www.cnblogs.com/shaoting/p/6148085.html
这个地址 不要通过github访问 讲解的是image-picker 和picker类似

@PengSiSi
Copy link

可以了,解决了

@hejianqi
Copy link

你们是怎么解决这个问题的

@ocswor
Copy link

ocswor commented Aug 23, 2017

哈哈

@Cassie-Yu
Copy link

react-native link之后依旧报错 到底怎么解决的啊?

@Flynana
Copy link

Flynana commented Nov 1, 2017

同样的问题 求解

@cyhandwqq
Copy link

怎么解决的,求救啊

@shenzhenSk
Copy link

react-native link and run-android again

@chaoming007
Copy link

朋友们我也遇到了ios报 "Cannot read property '_init' of undefined" 请问你们是如何解决的?

@shenzhenSk
Copy link

我也是刚开始的项目,目前都是在ANDROID设备上调试,一般引入这种带原生依赖的组件,你yarn add后,需要link一下,然后过入android目录下clean一下:gradlew clean;然后再重新run-android @chaoming007

@bluewater0015
Copy link

到底怎么解决了?我也遇到这问题..

怎么解决的?加你QQ也加不了,看到能否加我微信bluewater0015,谢谢

@reng99
Copy link

reng99 commented Jun 27, 2019

Mac机子上执行react-native link 命令之后再运行react-native run-ios就行啦😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests