Как решить эту проблему в моем приложении FlutterAndroid

Форум для тех, кто программирует под Android
Ответить
Anonymous
 Как решить эту проблему в моем приложении Flutter

Сообщение Anonymous »

Код: Выделить всё

PS C:\Users\USER\Videos\Mobile-app-customer> flutter build apk
Package open_filex:linux references open_filex:linux as the default plugin, but it does not provide an inline
implementation.
Ask the maintainers of open_filex to either avoid referencing a default implementation via `platforms: linux:
default_package: open_filex` or add an inline implementation to open_filex via `platforms: linux:` `pluginClass` or`dartPluginClass`.

Package open_filex:macos references open_filex:macos as the default plugin, but it does not provide an inline
implementation.
Ask the maintainers of open_filex to either avoid referencing a default implementation via `platforms: macos:
default_package: open_filex` or add an inline implementation to open_filex via `platforms: macos:` `pluginClass` or`dartPluginClass`.

Package open_filex:windows references open_filex:windows as the default plugin, but it does not provide an inline
implementation.
Ask the maintainers of open_filex to either avoid referencing a default implementation via `platforms: windows:
default_package: open_filex` or add an inline implementation to open_filex via `platforms: windows:` `pluginClass`
or `dartPluginClass`.

Package open_filex:linux references open_filex:linux as the default plugin, but it does not provide an inline
implementation.
Ask the maintainers of open_filex to either avoid referencing a default implementation via `platforms: linux:
default_package: open_filex` or add an inline implementation to open_filex via `platforms: linux:` `pluginClass` or`dartPluginClass`.

Package open_filex:macos references open_filex:macos as the default plugin, but it does not provide an inline
implementation.
Ask the maintainers of open_filex to either avoid referencing a default implementation via `platforms: macos:
default_package: open_filex` or add an inline implementation to open_filex via `platforms: macos:` `pluginClass` or`dartPluginClass`.

Package open_filex:windows references open_filex:windows as the default plugin, but it does not provide an inline
implementation.
Ask the maintainers of open_filex to either avoid referencing a default implementation via `platforms: windows:
default_package: open_filex` or add an inline implementation to open_filex via `platforms: windows:` `pluginClass`
or `dartPluginClass`.

Package open_filex:linux references open_filex:linux as the default plugin, but it does not provide an inline
implementation.
Ask the maintainers of open_filex to either avoid referencing a default implementation via `platforms: linux:
default_package: open_filex` or add an inline implementation to open_filex via `platforms: linux:` `pluginClass` or`dartPluginClass`.

Package open_filex:macos references open_filex:macos as the default plugin, but it does not provide an inline
implementation.
Ask the maintainers of open_filex to either avoid referencing a default implementation via `platforms: macos:
default_package: open_filex` or add an inline implementation to open_filex via `platforms: macos:` `pluginClass` or`dartPluginClass`.

Package open_filex:windows references open_filex:windows as the default plugin, but it does not provide an inline
implementation.
Ask the maintainers of open_filex to either avoid referencing a default implementation via `platforms: windows:
default_package: open_filex` or add an inline implementation to open_filex via `platforms: windows:` `pluginClass`
or `dartPluginClass`.

FAILURE: Build failed with an exception.

* Where:
Settings file 'C:\Users\USER\Videos\Mobile-app-customer\android\settings.gradle' line: 15

* What went wrong:
Plugin [id: 'dev.flutter.flutter-gradle-plugin', version: '1.0.0'] was not found in any of the following sources:

- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Plugin Repositories (could not resolve plugin artifact 'dev.flutter.flutter-gradle-plugin:dev.flutter.flutter-gradle-plugin.gradle.plugin:1.0.0')
Searched in the following repositories:
Google
MavenRepo
Gradle Central Plugin Repository
maven(https://storage.googleapis.com/download.flutter.io)

* 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 1m 8s
Running Gradle task 'assembleRelease'...                            70.7s
Gradle task assembleRelease failed with exit code 1
Пожалуйста, что я могу с этим сделать, я попробовал все, от CHATGPT, и все еще ничего не работает

Подробнее здесь: https://stackoverflow.com/questions/796 ... lutter-app
Ответить

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

Вернуться в «Android»