Arj*_*amu 2 android gradle build.gradle flutter jitsi-meet
我插入了 JitsiMeet,但现在在提供此包的所有依赖项后出现此错误。
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':jitsi_meet: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.
* Get more help at https://help.gradle.org
BUILD FAILED in 2m 39s
Exception: Gradle task assembleDebug failed with exit code 1
Run Code Online (Sandbox Code Playgroud)
我实际上为他们修复了错误,希望代码所有者审查它。这只是一个type_error. 这是非常常见的错误。
你得到的错误:
JitsiMeetPlugin.kt C:\src\flutter.pub-cache\hosted\pub.dartlang.org\
jitsi_meet-4.0.0\android\src\main\kotlin\com\gunschu\jitsi_meet\
JitsiMeetPlugin.kt: (66, 42):
Type mismatch: inferred type is Activity? but Activity was expected
Run Code Online (Sandbox Code Playgroud)
导致错误的原因:
JitsiMeetPlugin.kt C:\src\flutter.pub-cache\hosted\pub.dartlang.org\
jitsi_meet-4.0.0\android\src\main\kotlin\com\gunschu\jitsi_meet\
JitsiMeetPlugin.kt: (66, 42):
Type mismatch: inferred type is Activity? but Activity was expected
Run Code Online (Sandbox Code Playgroud)
解决方案:
constructor(activity: Activity) : this() {
this.activity = activity
}
Run Code Online (Sandbox Code Playgroud)
参考: https: //github.com/gunschu/jitsi_meet/issues/393
| 归档时间: |
|
| 查看次数: |
1841 次 |
| 最近记录: |