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

关于native调rn,module为空 #2

Open
fredsun opened this issue May 5, 2017 · 0 comments
Open

关于native调rn,module为空 #2

fredsun opened this issue May 5, 2017 · 0 comments

Comments

@fredsun
Copy link

fredsun commented May 5, 2017

native调取rn,application.getReactPackage没问题,但是再往下获取module就报空了。检查了一下。似乎并没有漏掉地方。。。

application

app

mainactivity

MainActivity

module

Module

package

Package

bug

bug

Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.test.rn.communication.CommModule.nativeCallRn(java.lang.String)' on a null object reference

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

1 participant