【发布时间】:2022-08-10 00:27:13
【问题描述】:
我刚刚升级了我的 Android Studio 和颤振 SDK。当我尝试运行我的颤振项目时,我不断在下面收到此错误。我正在使用flutter_paystack: ^1.0.5+1 包。
Parameter format not correct -
e: C:\\src\\flutter\\flutter\\.pub-cache\\hosted\\pub.dartlang.org\\flutter_paystack-1.0.5+1\\android\\src\\main\\kotlin\\co\\paystack\\flutterpaystack\\FlutterPaystackPlugin.kt: (48, 62): Type mismatch: inferred type is Activity? but Activity was expected
e: C:\\src\\flutter\\flutter\\.pub-cache\\hosted\\pub.dartlang.org\\flutter_paystack-1.0.5+1\\android\\src\\main\\kotlin\\co\\paystack\\flutterpaystack\\MethodCallHandlerImpl.kt: (19, 37): Type mismatch: inferred type is BinaryMessenger? but BinaryMessenger was expected
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task \':flutter_paystack:compileDebugKotlin\'.
> Compilation error. See log for more 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.
请问可能是什么原因
-
我在使用颤振版本 3.0.0 时遇到了同样的错误
标签: flutter