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

错误: 无法将类 TobiasPlugin中的构造器 TobiasPlugin应用到给定类型 #40

Closed
xiebao opened this issue Mar 10, 2020 · 0 comments

Comments

@xiebao
Copy link

xiebao commented Mar 10, 2020

/Users/xiebaoxin/StudioProjects/flutter_egg/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java:33: 错误: 无法将类 TobiasPlugin中的构造器 TobiasPlugin应用到给定类型;
flutterEngine.getPlugins().add(new com.jarvan.tobias.TobiasPlugin());
^
需要: Registrar
找到: 没有参数
原因: 实际参数列表和形式参数列表长度不同
1 个错误

FAILURE: Build failed with an exception.

这一版本有问题,暂时恢复到上一版本可以暂时使用。

JarvanMo added a commit that referenced this issue Mar 10, 2020
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