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

Android 编译错误:new RNShareLocal() 参数长度错误 #9

Open
mantou132 opened this issue Oct 12, 2017 · 2 comments
Open

Android 编译错误:new RNShareLocal() 参数长度错误 #9

mantou132 opened this issue Oct 12, 2017 · 2 comments

Comments

@mantou132
Copy link

/home/**/android/app/src/main/java/com/impress_webview/MainApplication.java:53: error: constructor RNShareLocal in class RNShareLocal cannot be applied to given types;
          new RNShareLocal()
          ^
  required: Activity
  found: no arguments
  reason: actual and formal argument lists differ in length

是不是应该在 MainApplication.java 实例化的时候传入参数?
我不知道参数该怎么写

@mantou132 mantou132 changed the title Android 编译错误: Android 编译错误:new RNShareLocal() 参数长度错误 Oct 12, 2017
@mantou132
Copy link
Author

试着修复了,我自己能用;
#10

@kmlidc
Copy link
Owner

kmlidc commented Oct 12, 2017 via email

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