任务 ':stack_appodeal_flutter:compileDebugKotlin' 执行失败
Execution failed for task ':stack_appodeal_flutter:compileDebugKotlin'
升级后出现这个错误。我该如何解决这个错误?
Launching lib/main.dart on SM G970F in debug mode...
Running Gradle task 'assembleDebug'...
e: /Users/myMac/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/stack_appodeal_flutter-1.2.0/android/src/main/kotlin/com/appodeal/appodeal_flutter/AppodealAdViewFactory.kt: (9, 10): Class 'AppodealAdViewFactory' is not abstract and does not implement abstract base class member public abstract fun create(p0: Context?, p1: Int, p2: Any?): PlatformView defined in io.flutter.plugin.platform.PlatformViewFactory
e: /Users/myMac/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/stack_appodeal_flutter-1.2.0/android/src/main/kotlin/com/appodeal/appodeal_flutter/AppodealAdViewFactory.kt: (12, 5): 'create' overrides nothing
FAILURE: Build failed with an exception.
这是因为当前的 [stack_appodeal_flutter] 包与 Flutter 3.0 不兼容。
我有同样的问题并联系了 Appodeal 的支持团队。他们告诉我要等待大约两周才能获得与 Flutter 3.0 兼容的新软件包。
希望对您有所帮助
升级后出现这个错误。我该如何解决这个错误?
Launching lib/main.dart on SM G970F in debug mode...
Running Gradle task 'assembleDebug'...
e: /Users/myMac/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/stack_appodeal_flutter-1.2.0/android/src/main/kotlin/com/appodeal/appodeal_flutter/AppodealAdViewFactory.kt: (9, 10): Class 'AppodealAdViewFactory' is not abstract and does not implement abstract base class member public abstract fun create(p0: Context?, p1: Int, p2: Any?): PlatformView defined in io.flutter.plugin.platform.PlatformViewFactory
e: /Users/myMac/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/stack_appodeal_flutter-1.2.0/android/src/main/kotlin/com/appodeal/appodeal_flutter/AppodealAdViewFactory.kt: (12, 5): 'create' overrides nothing
FAILURE: Build failed with an exception.
这是因为当前的 [stack_appodeal_flutter] 包与 Flutter 3.0 不兼容。 我有同样的问题并联系了 Appodeal 的支持团队。他们告诉我要等待大约两周才能获得与 Flutter 3.0 兼容的新软件包。
希望对您有所帮助