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

安卓的配置不需要import吗? #6

Open
ueun opened this issue Mar 6, 2016 · 2 comments
Open

安卓的配置不需要import吗? #6

ueun opened this issue Mar 6, 2016 · 2 comments

Comments

@ueun
Copy link

ueun commented Mar 6, 2016

看文档说直接就使用了?难道不需要配置 settings.gradle和build.gradle之类的吗?我导入的时候会发生 错误: 找不到符号 import cn.reactnative.modules.jpush; 能把配置完善不?要不新手没法使用吧。 谢谢!

@sunnylqm
Copy link
Contributor

sunnylqm commented Mar 6, 2016

rnpm link运行了吗

@ueun
Copy link
Author

ueun commented Mar 7, 2016

执行了 rnpm link react-native-jpush,发现 MainActivity.java 里并没有import,手动加上编译还是提示找不到jpush类

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

2 participants