Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flutter Issue relevant with gradle and groovy #7854

Open
Majd-Majed opened this issue Dec 8, 2024 · 0 comments
Open

flutter Issue relevant with gradle and groovy #7854

Majd-Majed opened this issue Dec 8, 2024 · 0 comments

Comments

@Majd-Majed
Copy link

Thanks for the feedback! If your issue is related to the Flutter framework itself,
please open an issue at
github.com/flutter/flutter.

Steps to Reproduce

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':gradle:compileGroovy'.

Could not resolve all files for configuration ':gradle:detachedConfiguration1'.
Could not find org.codehaus.groovy:groovy:?.?.??.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/org/codehaus/groovy/groovy/?.?.??/groovy-?.?.??.pom
- https://repo.maven.apache.org/maven2/org/codehaus/groovy/groovy/?.?.??/groovy-?.?.??.pom
Required by:
project :gradle
Could not find org.codehaus.groovy:groovy-ant:?.?.??.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/org/codehaus/groovy/groovy-ant/?.?.??/groovy-ant-?.?.??.pom
- https://repo.maven.apache.org/maven2/org/codehaus/groovy/groovy-ant/?.?.??/groovy-ant-?.?.??.pom
Required by:
project :gradle
Could not find org.codehaus.groovy:groovy-astbuilder:?.?.??.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/org/codehaus/groovy/groovy-astbuilder/?.?.??/groovy-astbuilder-?.?.??.pom
- https://repo.maven.apache.org/maven2/org/codehaus/groovy/groovy-astbuilder/?.?.??/groovy-astbuilder-?.?.??.pom
Required by:
project :gradle
Could not find org.codehaus.groovy:groovy-console:?.?.??.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/org/codehaus/groovy/groovy-console/?.?.??/groovy-console-?.?.??.pom
- https://repo.maven.apache.org/maven2/org/codehaus/groovy/groovy-console/?.?.??/groovy-console-?.?.??.pom
Required by:
project :gradle
Could not find org.codehaus.groovy:groovy-datetime:?.?.??.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/org/codehaus/groovy/groovy-datetime/?.?.??/groovy-datetime-?.?.??.pom
- https://repo.maven.apache.org/maven2/org/codehaus/groovy/groovy-datetime/?.?.??/groovy-datetime-?.?.??.pom
Required by:
project :gradle
Could not find org.codehaus.groovy:groovy-dateutil:?.?.??.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/org/codehaus/groovy/groovy-dateutil/?.?.??/groovy-dateutil-?.?.??.pom
- https://repo.maven.apache.org/maven2/org/codehaus/groovy/groovy-dateutil/?.?.??/groovy-dateutil-?.?.??.pom
Required by:
project :gradle
Could not find org.codehaus.groovy:groovy-nio:?.?.??.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/org/codehaus/groovy/groovy-nio/?.?.??/groovy-nio-?.?.??.pom
- https://repo.maven.apache.org/maven2/org/codehaus/groovy/groovy-nio/?.?.??/groovy-nio-?.?.??.pom
Required by:
project :gradle
Could not find org.codehaus.groovy:groovy-sql:?.?.??.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/org/codehaus/groovy/groovy-sql/?.?.??/groovy-sql-?.?.??.pom
- https://repo.maven.apache.org/maven2/org/codehaus/groovy/groovy-sql/?.?.??/groovy-sql-?.?.??.pom
Required by:
project :gradle
Could not find org.codehaus.groovy:groovy-test:?.?.??.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/org/codehaus/groovy/groovy-test/?.?.??/groovy-test-?.?.??.pom
- https://repo.maven.apache.org/maven2/org/codehaus/groovy/groovy-test/?.?.??/groovy-test-?.?.??.pom
Required by:
project :gradle
Could not find org.codehaus.groovy:groovy-templates:?.?.??.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/org/codehaus/groovy/groovy-templates/?.?.??/groovy-templates-?.?.??.pom
- https://repo.maven.apache.org/maven2/org/codehaus/groovy/groovy-templates/?.?.??/groovy-templates-?.?.??.pom
Required by:
project :gradle
Could not find org.codehaus.groovy:groovy-json:?.?.??.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/org/codehaus/groovy/groovy-json/?.?.??/groovy-json-?.?.??.pom
- https://repo.maven.apache.org/maven2/org/codehaus/groovy/groovy-json/?.?.??/groovy-json-?.?.??.pom
Required by:
project :gradle
Could not find org.codehaus.groovy:groovy-xml:?.?.??.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/org/codehaus/groovy/groovy-xml/?.?.??/groovy-xml-?.?.??.pom
- https://repo.maven.apache.org/maven2/org/codehaus/groovy/groovy-xml/?.?.??/groovy-xml-?.?.??.pom
Required by:
project :gradle
Could not find org.codehaus.groovy:groovy-groovydoc:?.?.??.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/org/codehaus/groovy/groovy-groovydoc/?.?.??/groovy-groovydoc-?.?.??.pom
- https://repo.maven.apache.org/maven2/org/codehaus/groovy/groovy-groovydoc/?.?.??/groovy-groovydoc-?.?.??.pom
Required by:
project :gradle

  • 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 48s
Error: Gradle task assembleDebug failed with exit code 1
The Flutter CLI developer tool uses Google Analytics to report usage and diagnostic
data along with package dependencies, and crash reporting to send basic crash
reports. This data is used to help improve the Dart platform, Flutter framework,
and related tools.

Telemetry is not sent on the very first run. To disable reporting of telemetry,
run this terminal command:

flutter --disable-analytics

If you opt out of telemetry, an opt-out event will be sent, and then no further
information will be sent. This data is collected in accordance with the Google
Privacy Policy (https://policies.google.com/privacy).

Version info

Telemetry is not sent on the very first run. To disable reporting of telemetry,

flutter --disable-analytics

If you opt out of telemetry, an opt-out event will be sent, and then no further
information will be sent. This data is collected in accordance with the Google
Privacy Policy (https://policies.google.com/privacy).

PS C:\Users\Eng_Majd\StudioProjects\majd> flutter doctor -v
[√] Flutter (Channel stable, 3.24.5, on Microsoft Windows [Version 10.0.19042.545], locale ar-YE)
• Flutter version 3.24.5 on channel stable at C:\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision dec2ee5c1f (4 weeks ago), 2024-11-13 11:13:06 -0800
• Engine revision a18df97ca5
• Dart version 3.5.4
• DevTools version 2.37.3

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
• Android SDK at C:\Android2
• Platform android-32, build-tools 32.0.0
• ANDROID_HOME = C:\Android2
• Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
• Java version OpenJDK Runtime Environment (build 21.0.3+-12282718-b509.11)
• All Android licenses accepted.

[√] Chrome - develop for the web
• Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[!] Visual Studio - develop Windows apps (Visual Studio Build Tools 2022 17.12.3)
• Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools
• Visual Studio Build Tools 2022 version 17.12.35527.113
X Visual Studio is missing necessary components. Please re-run the Visual Studio installer for the "Desktop development with C++" workload, and include
these components:
MSVC v142 - VS 2019 C++ x64/x86 build tools
- If there are multiple build tool versions available, install the latest
C++ CMake tools for Windows
Windows 10 SDK

[√] 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.95.3)
• VS Code at C:\Users\Eng_Majd\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.19042.545]
• Chrome (web) • chrome • web-javascript • Google Chrome 131.0.6778.109
• Edge (web) • edge • web-javascript • Microsoft Edge 131.0.2903.70

[√] Network resources
• All expected network resources are available.

! Doctor found issues in 1 category.
The Flutter CLI developer tool uses Google Analytics to report usage and diagnostic
data along with package dependencies, and crash reporting to send basic crash
reports. This data is used to help improve the Dart platform, Flutter framework,
and related tools.

Telemetry is not sent on the very first run. To disable reporting of telemetry,
run this terminal command:

flutter --disable-analytics

If you opt out of telemetry, an opt-out event will be sent, and then no further
information will be sent. This data is collected in accordance with the Google
Privacy Policy (https://policies.google.com/privacy).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant