【发布时间】:2022-08-19 01:34:48
【问题描述】:
e: /Users/ddo/development/flutter/.pub-cache/hosted/pub.dartlang.org/ai_barcode-2.1.0/android/src/main/kotlin/com/air/ai_barcode/AndroidCreatorViewFactory.kt: (15, 1): Class \'AndroidCreatorViewFactory\' 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/ddo/development/flutter/.pub-cache/hosted/pub.dartlang.org/ai_barcode-2.1.0/android/src/main/kotlin/com/air/ai_barcode/AndroidCreatorViewFactory.kt: (17, 5): \'create\' overrides nothing
e: /Users/ddo/development/flutter/.pub-cache/hosted/pub.dartlang.org/ai_barcode-2.1.0/android/src/main/kotlin/com/air/ai_barcode/AndroidScannerViewFactory.kt: (14, 1): Class \'AndroidScannerViewFactory\' 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/ddo/development/flutter/.pub-cache/hosted/pub.dartlang.org/ai_barcode-2.1.0/android/src/main/kotlin/com/air/ai_barcode/AndroidScannerViewFactory.kt: (16, 5): \'create\' overrides nothing
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task \':ai_barcode:compileDebugKotlin\'.
> A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
> Compilation error. See log for more details
-
尝试: 使用 --stacktrace 选项运行以获取堆栈跟踪。使用 --info 或 --debug 选项运行以获得更多日志输出。运行 --scan 以获得完整的见解。
-
在https://help.gradle.org 获得更多帮助
\'\'\'
-
flutter clean - flutter pub get 没有解决我的问题
-
使用 ====> flutter run 发布完整的错误日志——详细
标签: java flutter kotlin dart gradle