dart Java:34:错误:在flutter www.example.com文件中找不到符号GeneratedPluginRegistrant.java

nimxete2  于 2023-01-03  发布在  Java
关注(0)|答案(1)|浏览(119)
Launching lib\main.dart on SM M215F in debug mode...
C:\DART PROJECT\pdf scanner\noturk_docs\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java:34: error: cannot find symbol
      flutterEngine.getPlugins().add(new io.flutter.plugins.imagepicker.ImagePickerPlugin());
                                                                       ^
  symbol:   class ImagePickerPlugin
  location: package io.flutter.plugins.imagepicker
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 34s
Exception: Gradle task assembleDebug failed with exit code 1
Exited (sigterm)

这些是我得到的错误当我试图运行没有调试.我尝试了许多选项,但没有一个是工作

相关问题