You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A problem occurred configuring root project 'android'.
Could not resolve all files for configuration ':classpath'.
Cannot resolve external dependency org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.22 because no repositories are defined.
Required by:
project :
The Kotlin version gives an error on any number and does not build
Relevant log output
Execute in a terminal and put output into the code block below
Output of: flutter doctor -v
C:\flutter\bin\flutter.bat doctor --verbose
[√] Flutter (Channel stable, 3.27.1, on Microsoft Windows [Version 10.0.26100.2894], locale en-US)
• Flutter version 3.27.1 on channel stable at C:\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 17025dd882 (5 weeks ago), 2024-12-17 03:23:09 +0900
• Engine revision cb4b5fff73
• Dart version 3.6.0
• DevTools version 2.40.2
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
• Android SDK at G:\sdk
• Platform android-35, build-tools 35.0.0
• ANDROID_HOME = G:\sdk
• Java binary at: C:\Program Files\Java\jdk-17\bin\java
• Java version Java(TM) SE Runtime Environment (build 17.0.12+8-LTS-286)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.11.5)
• Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
• Visual Studio Community 2022 version 17.11.35327.3
• Windows 10 SDK version 10.0.22621.0
What happened?
A problem occurred configuring root project 'android'.
Possible solution:
What do you expect?
The Kotlin version gives an error on any number and does not build
Relevant log output
Execute in a terminal and put output into the code block below
Output of: flutter doctor -v
C:\flutter\bin\flutter.bat doctor --verbose
[√] Flutter (Channel stable, 3.27.1, on Microsoft Windows [Version 10.0.26100.2894], locale en-US)
• Flutter version 3.27.1 on channel stable at C:\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 17025dd882 (5 weeks ago), 2024-12-17 03:23:09 +0900
• Engine revision cb4b5fff73
• Dart version 3.6.0
• DevTools version 2.40.2
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
• Android SDK at G:\sdk
• Platform android-35, build-tools 35.0.0
• ANDROID_HOME = G:\sdk
• Java binary at: C:\Program Files\Java\jdk-17\bin\java
• Java version Java(TM) SE Runtime Environment (build 17.0.12+8-LTS-286)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.11.5)
• Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
• Visual Studio Community 2022 version 17.11.35327.3
• Windows 10 SDK version 10.0.22621.0
[√] Android Studio (version 2024.2)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 21.0.3+-12282718-b509.11)
[√] VS Code (version 1.96.4)
• VS Code at C:\Users\REZA_PC\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.102.0
[√] Connected device (3 available)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.26100.2894]
• Chrome (web) • chrome • web-javascript • Google Chrome 131.0.6778.265
• Edge (web) • edge • web-javascript • Microsoft Edge 131.0.2903.146
[√] Network resources
• All expected network resources are available.
• No issues found!
On which Platform do you experience this issue?
Android
Other information
No response
Are you interested in working on a PR for this?
The text was updated successfully, but these errors were encountered: