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

razorpay_flutter: ^1.1.4 give error when adding it in depenences. #30

Open
m0nusingh opened this issue May 18, 2020 · 1 comment
Open

Comments

@m0nusingh
Copy link

razorpay_flutter: ^1.1.4

when i am adding the razorpay_flutter while the app is running, it works fine but when i restart the app i have the error
error: constructor RazorpayFlutterPlugin in class RazorpayFlutterPlugin cannot be applied to given types;
[ +1 ms] flutterEngine.getPlugins().add(new com.razorpay.razorpay_flutter.RazorpayFlutterPlugin());
[ ] ^
[ ] required: Registrar
[ ] found: no arguments
[ ] reason: actual and formal argument lists differ in length
[ ] 1 error
[ ] FAILURE: Build failed with an exception.
[ ] * What went wrong:
[ ] Execution failed for task ':app:compileDebugJavaWithJavac'.
[ ] > Compilation failed; see the compiler error output for details.
[ ] * Try:
[ ] Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with
--scan to get full insights.
[ ] * Get more help at https://help.gradle.org
[ ] BUILD FAILED in 39s

@m0nusingh
Copy link
Author

Issue iam using flutter Flutter (Channel stable, v1.17.1, on Linux, locale en_IN.utf8)

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