Код: Выделить всё
environment:
sdk: "3.7.0"
dependencies:
flutter:
sdk: flutter
file_picker: ^6.2.1
quill_html_editor: ^2.2.8
Код: Выделить всё
Package quill_html_editor:android references quill_html_editor:android as the default plugin, but it does not provide an inline implementation.
Package file_picker:linux references file_picker:linux as the default plugin, but it does not provide an inline implementation.
/Users/mac/.pub-cache/hosted/pub.dev/file_picker-6.2.1/android/src/main/java/com/mr/flutter/plugin/filepicker/FilePickerPlugin.java:122: error: cannot find symbol
public static void registerWith(final io.flutter.plugin.common.PluginRegistry.Registrar registrar) {
^
symbol: class Registrar
location: interface PluginRegistry
/Users/mac/.pub-cache/hosted/pub.dev/file_picker-6.2.1/android/src/main/java/com/mr/flutter/plugin/filepicker/FilePickerPlugin.java:251: error: cannot find symbol
final PluginRegistry.Registrar registrar,
^
symbol: class Registrar
location: interface PluginRegistry
2 errors
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':file_picker: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 53s
┌─ Flutter Fix ───────────────────────────────────────────────────────────────────────────────────┐
│ [!] Consult the error logs above to identify any broken plugins, specifically those containing │
│ "error: cannot find symbol..." │
│ This issue is likely caused by v1 embedding removal and the plugin's continued usage of removed │
│ references to the v1 embedding. │
│ To fix this error, please upgrade your current package's dependencies to latest versions by │
│ running `flutter pub upgrade`. │
│ If that does not work, please file an issue for the problematic plugin(s) here: │
│ https://github.com/flutter/flutter/issues │
└─────────────────────────────────────────────────────────────────────────────────────────────────┘
Error: Gradle task assembleDebug failed with exit code 1
Exited (1).
[*] Запуск Flutter Clean , а затем Flutter Pub Get
[*] Обновление зависимостей с использованием обновления Flutter Pub
Удаление папки .pub-cache и переустановить Зависимости < /li>
< /ol>
Вопросы: < /strong> < /p>
Как мне Установите эту ошибку? Делать Мне нужно вручную обновить некоторые настройки градл?>
Подробнее здесь: https://stackoverflow.com/questions/794 ... er-plugins