FAILURE: Build failed with an exception.
* Where:
Build file 'C:\Users\MOTAP ERP\StudioProjects\restaurant\android\app\build.gradle' line: 3
* What went wrong:
Plugin [id: 'kotlin-android'] was not found in any of the following sources:
- Gradle Core Plugins (not a core plugin, please see https://docs.gradle.org/7.5/userguide/standard_plugins.html for available core plugins)
- Included Builds (None of the included builds contain this plugin)
- Plugin Repositories (plugin dependency must include a version number for this source)
* 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
BU�LD FAILED in 877ms
Exception: Gradle task assembleDebug failed with exit code 1
Похоже, что плагины Kotlin установлены. Я попробовал решения, которые нашел в Интернете.
Мои файлы app/build gradle и build.gradle выглядят следующим образом:
app/build.gradle :
Я получаю эту ошибку при создании проекта во Flutter. Я думаю, это связано с тем, что плагин Kotlin не найден. [code]FAILURE: Build failed with an exception.
* What went wrong: Plugin [id: 'kotlin-android'] was not found in any of the following sources:
- Gradle Core Plugins (not a core plugin, please see https://docs.gradle.org/7.5/userguide/standard_plugins.html for available core plugins) - Included Builds (None of the included builds contain this plugin) - Plugin Repositories (plugin dependency must include a version number for this source)
* 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
BU�LD FAILED in 877ms Exception: Gradle task assembleDebug failed with exit code 1
[/code] Похоже, что плагины Kotlin установлены. Я попробовал решения, которые нашел в Интернете. Мои файлы app/build gradle и build.gradle выглядят следующим образом: app/build.gradle : [code]plugins { id "com.android.application" id "kotlin-android" id "dev.flutter.flutter-gradle-plugin" }