flutter / flutter

Flutter makes it easy and fast to build beautiful apps for mobile and beyond
https://flutter.dev
BSD 3-Clause "New" or "Revised" License
164.99k stars 27.19k forks source link

./gradlew build fail #152024

Closed codebreaker64 closed 2 months ago

codebreaker64 commented 2 months ago

Steps to reproduce

is there a way to get rid of google sign in test? I do not have the package and I have tried to do dart/flutter pub cache clean but when i get flutter pub get, google sign in always come back. I tried flutter pub outdated and flutter pub upgrade. Flutter build works find but gradlew build does not.

pubspec.yaml ```yaml environment: sdk: '>=3.3.4 <4.0.0' dependencies: rename_app: ^1.3.2 supabase_flutter: ^2.5.3 flutter: sdk: flutter table_calendar: ^3.0.0 flutter_slidable: ^3.1.1 cupertino_icons: ^1.0.6 supabase_auth_ui: ^0.5.0 carousel_slider: ^4.2.1 url_launcher: ^6.2.6 hive: ^2.2.3 hive_flutter: ^1.1.0 audioplayers: ^6.0.0 go_router: ^14.2.0 get: ^4.6.6 http: ^1.2.1 fluttermoji: ^1.0.2 news_api_flutter_package: ^1.2.0 dev_dependencies: flutter_test: sdk: flutter flutter_launcher_icons: ^0.13.1 mockito: ^5.0.16 mocktail: ^1.0.4 hive_generator: ^2.0.1 build_runner: ^2.1.11 flutter_lints: ^4.0.0 flutter_launcher_icons: android: "launcher_icon" ios: true image_path: "images/peacepal_logo.jpeg" adaptive_icon_background: "#ffffff" adaptive_icon_foreground: "images/peacepal_logo_background.png" flutter_lints: ^3.0.0 ```
settings.gradle ![image](https://github.com/user-attachments/assets/780345b6-1cfc-453e-8322-3efcbb369bc2)
local.properties ![image](https://github.com/user-attachments/assets/d772e215-3725-4d7d-950d-3762c54fd1af)
gradle.properties ![image](https://github.com/user-attachments/assets/38547a2f-ada3-44f1-871d-759efa4a9035)
app/build.gradle ```gradle plugins { id "com.android.application" id "kotlin-android" id "dev.flutter.flutter-gradle-plugin" } def localProperties = new Properties() def localPropertiesFile = rootProject.file('local.properties') if (localPropertiesFile.exists()) { localPropertiesFile.withReader('UTF-8') { reader -> localProperties.load(reader) } } def flutterVersionCode = localProperties.getProperty('flutter.versionCode') if (flutterVersionCode == null) { flutterVersionCode = '1' } def flutterVersionName = localProperties.getProperty('flutter.versionName') if (flutterVersionName == null) { flutterVersionName = '1.0' } android { namespace "com.example.orbital" compileSdk 34 ndkVersion flutter.ndkVersion compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } kotlinOptions { jvmTarget = '1.8' } sourceSets { main.java.srcDirs += 'src/main/kotlin' } defaultConfig { // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). applicationId "com.example.orbital" // You can update the following values to match your application needs. // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration. minSdkVersion flutter.minSdkVersion targetSdkVersion flutter.targetSdkVersion versionCode flutterVersionCode.toInteger() versionName flutterVersionName } buildTypes { release { // TODO: Add your own signing config for the release build. // Signing with the debug keys for now, so `flutter run --release` works. signingConfig signingConfigs.debug } } } flutter { source '../..' } dependencies {} ```
build.gradle ```gradle allprojects { repositories { google() mavenCentral() } } rootProject.buildDir = '../build' subprojects { project.buildDir = "${rootProject.buildDir}/${project.name}" } subprojects { project.evaluationDependsOn(':app') } tasks.register("clean", Delete) { delete rootProject.buildDir } ```

Expected results

./gradlew to build succesfully

Actual results

./gradlew build result ```console > Task :app:stripReleaseDebugSymbols Unable to strip the following libraries, packaging them as they are: libapp.so, libflutter.so. Java HotSpot(TM) 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended > Task :google_sign_in_android:testDebugUnitTest GoogleSignInLegacyMethodChannelTest > init_PassesForceCodeForRefreshTokenFalseWithServerClientIdFromResources STANDARD_ERROR WARNING: A Java agent has been loaded dynamically (C:\Users\foong\.gradle\caches\8.8\transforms\fe2d15458ac22d274b8237be7a5ff8de\transformed\jetified-byte-buddy-agent-1.12.22.jar) WARNING: If a serviceability tool is in use, please run with -XX:+EnableDynamicAgentLoading to hide this warning WARNING: If a serviceability tool is not in use, please run with -Djdk.instrument.traceUsage for more information WARNING: Dynamic loading of agents will be disallowed by default in a future release GoogleSignInLegacyMethodChannelTest > init_PassesForceCodeForRefreshTokenFalseWithServerClientIdFromResources FAILED org.mockito.exceptions.base.MockitoException at GoogleSignInLegacyMethodChannelTest.java:59 Caused by: org.mockito.exceptions.base.MockitoException at GoogleSignInLegacyMethodChannelTest.java:59 Caused by: java.lang.IllegalStateException at GoogleSignInLegacyMethodChannelTest.java:59 Caused by: java.lang.IllegalArgumentException at GoogleSignInLegacyMethodChannelTest.java:59 java.lang.NullPointerException at GoogleSignInLegacyMethodChannelTest.java:69 GoogleSignInLegacyMethodChannelTest > init_IgnoresClientIdIfServerClientIdIsProvided FAILED org.mockito.exceptions.base.MockitoException at GoogleSignInLegacyMethodChannelTest.java:59 Caused by: org.mockito.exceptions.base.MockitoException at GoogleSignInLegacyMethodChannelTest.java:59 Caused by: java.lang.IllegalStateException at GoogleSignInLegacyMethodChannelTest.java:59 Caused by: java.lang.IllegalArgumentException at GoogleSignInLegacyMethodChannelTest.java:59 java.lang.NullPointerException at GoogleSignInLegacyMethodChannelTest.java:69 GoogleSignInLegacyMethodChannelTest > init_PassesForceCodeForRefreshTokenTrueWithServerClientIdParameter FAILED org.mockito.exceptions.base.MockitoException at GoogleSignInLegacyMethodChannelTest.java:59 Caused by: org.mockito.exceptions.base.MockitoException at GoogleSignInLegacyMethodChannelTest.java:59 Caused by: java.lang.IllegalStateException at GoogleSignInLegacyMethodChannelTest.java:59 Caused by: java.lang.IllegalArgumentException at GoogleSignInLegacyMethodChannelTest.java:59 java.lang.NullPointerException at GoogleSignInLegacyMethodChannelTest.java:69 GoogleSignInLegacyMethodChannelTest > init_PassesForceCodeForRefreshTokenTrueWithServerClientIdFromResources FAILED org.mockito.exceptions.base.MockitoException at GoogleSignInLegacyMethodChannelTest.java:59 Caused by: org.mockito.exceptions.base.MockitoException at GoogleSignInLegacyMethodChannelTest.java:59 Caused by: java.lang.IllegalStateException at GoogleSignInLegacyMethodChannelTest.java:59 Caused by: java.lang.IllegalArgumentException at GoogleSignInLegacyMethodChannelTest.java:59 java.lang.NullPointerException at GoogleSignInLegacyMethodChannelTest.java:69 GoogleSignInLegacyMethodChannelTest > requestScopes_mayBeCalledRepeatedly_ifAlreadyGranted FAILED org.mockito.exceptions.base.MockitoException at GoogleSignInLegacyMethodChannelTest.java:59 Caused by: org.mockito.exceptions.base.MockitoException at GoogleSignInLegacyMethodChannelTest.java:59 Caused by: java.lang.IllegalStateException at GoogleSignInLegacyMethodChannelTest.java:59 Caused by: java.lang.IllegalArgumentException at GoogleSignInLegacyMethodChannelTest.java:59 java.lang.NullPointerException at GoogleSignInLegacyMethodChannelTest.java:69 GoogleSignInLegacyMethodChannelTest > requestScopes_ReturnsTrueIfPermissionGranted FAILED org.mockito.exceptions.base.MockitoException at GoogleSignInLegacyMethodChannelTest.java:59 Caused by: org.mockito.exceptions.base.MockitoException at GoogleSignInLegacyMethodChannelTest.java:59 Caused by: java.lang.IllegalStateException at GoogleSignInLegacyMethodChannelTest.java:59 Caused by: java.lang.IllegalArgumentException at GoogleSignInLegacyMethodChannelTest.java:59 java.lang.NullPointerException at GoogleSignInLegacyMethodChannelTest.java:69 GoogleSignInLegacyMethodChannelTest > requestScopes_mayBeCalledRepeatedly_ifNotSignedIn FAILED org.mockito.exceptions.base.MockitoException at GoogleSignInLegacyMethodChannelTest.java:59 Caused by: org.mockito.exceptions.base.MockitoException at GoogleSignInLegacyMethodChannelTest.java:59 Caused by: java.lang.IllegalStateException at GoogleSignInLegacyMethodChannelTest.java:59 Caused by: java.lang.IllegalArgumentException at GoogleSignInLegacyMethodChannelTest.java:59 java.lang.NullPointerException at GoogleSignInLegacyMethodChannelTest.java:69 GoogleSignInLegacyMethodChannelTest > init_LoadsServerClientIdFromResources FAILED org.mockito.exceptions.base.MockitoException at GoogleSignInLegacyMethodChannelTest.java:59 Caused by: org.mockito.exceptions.base.MockitoException at GoogleSignInLegacyMethodChannelTest.java:59 Caused by: java.lang.IllegalStateException at GoogleSignInLegacyMethodChannelTest.java:59 Caused by: java.lang.IllegalArgumentException at GoogleSignInLegacyMethodChannelTest.java:59 java.lang.NullPointerException at GoogleSignInLegacyMethodChannelTest.java:69 GoogleSignInLegacyMethodChannelTest > init_ForwardsServerClientId FAILED org.mockito.exceptions.base.MockitoException at GoogleSignInLegacyMethodChannelTest.java:59 Caused by: org.mockito.exceptions.base.MockitoException at GoogleSignInLegacyMethodChannelTest.java:59 Caused by: java.lang.IllegalStateException at GoogleSignInLegacyMethodChannelTest.java:59 Caused by: java.lang.IllegalArgumentException at GoogleSignInLegacyMethodChannelTest.java:59 java.lang.NullPointerException at GoogleSignInLegacyMethodChannelTest.java:69 GoogleSignInLegacyMethodChannelTest > requestScopes_ResultErrorIfAccountIsNull FAILED org.mockito.exceptions.base.MockitoException at GoogleSignInLegacyMethodChannelTest.java:59 Caused by: org.mockito.exceptions.base.MockitoException at GoogleSignInLegacyMethodChannelTest.java:59 Caused by: java.lang.IllegalStateException at GoogleSignInLegacyMethodChannelTest.java:59 Caused by: java.lang.IllegalArgumentException at GoogleSignInLegacyMethodChannelTest.java:59 java.lang.NullPointerException at GoogleSignInLegacyMethodChannelTest.java:69 GoogleSignInLegacyMethodChannelTest > signInThrowsWithoutActivity FAILED org.mockito.exceptions.base.MockitoException at GoogleSignInLegacyMethodChannelTest.java:59 Caused by: org.mockito.exceptions.base.MockitoException at GoogleSignInLegacyMethodChannelTest.java:59 Caused by: java.lang.IllegalStateException at GoogleSignInLegacyMethodChannelTest.java:59 Caused by: java.lang.IllegalArgumentException at GoogleSignInLegacyMethodChannelTest.java:59 java.lang.NullPointerException at GoogleSignInLegacyMethodChannelTest.java:69 GoogleSignInLegacyMethodChannelTest > requestScopes_ResultTrueIfAlreadyGranted FAILED org.mockito.exceptions.base.MockitoException at GoogleSignInLegacyMethodChannelTest.java:59 Caused by: org.mockito.exceptions.base.MockitoException at GoogleSignInLegacyMethodChannelTest.java:59 Caused by: java.lang.IllegalStateException at GoogleSignInLegacyMethodChannelTest.java:59 Caused by: java.lang.IllegalArgumentException at GoogleSignInLegacyMethodChannelTest.java:59 java.lang.NullPointerException at GoogleSignInLegacyMethodChannelTest.java:69 GoogleSignInLegacyMethodChannelTest > signInSilentlyThatImmediatelyCompletesWithoutResultFinishesWithError FAILED org.mockito.exceptions.base.MockitoException at GoogleSignInLegacyMethodChannelTest.java:59 Caused by: org.mockito.exceptions.base.MockitoException at GoogleSignInLegacyMethodChannelTest.java:59 Caused by: java.lang.IllegalStateException at GoogleSignInLegacyMethodChannelTest.java:59 Caused by: java.lang.IllegalArgumentException at GoogleSignInLegacyMethodChannelTest.java:59 java.lang.NullPointerException at GoogleSignInLegacyMethodChannelTest.java:69 GoogleSignInLegacyMethodChannelTest > requestScopes_ReturnsFalseIfPermissionDenied FAILED org.mockito.exceptions.base.MockitoException at GoogleSignInLegacyMethodChannelTest.java:59 Caused by: org.mockito.exceptions.base.MockitoException at GoogleSignInLegacyMethodChannelTest.java:59 Caused by: java.lang.IllegalStateException at GoogleSignInLegacyMethodChannelTest.java:59 Caused by: java.lang.IllegalArgumentException at GoogleSignInLegacyMethodChannelTest.java:59 java.lang.NullPointerException at GoogleSignInLegacyMethodChannelTest.java:69 GoogleSignInLegacyMethodChannelTest > requestScopes_RequestsPermissionIfNotGranted FAILED org.mockito.exceptions.base.MockitoException at GoogleSignInLegacyMethodChannelTest.java:59 Caused by: org.mockito.exceptions.base.MockitoException at GoogleSignInLegacyMethodChannelTest.java:59 Caused by: java.lang.IllegalStateException at GoogleSignInLegacyMethodChannelTest.java:59 Caused by: java.lang.IllegalArgumentException at GoogleSignInLegacyMethodChannelTest.java:59 java.lang.NullPointerException at GoogleSignInLegacyMethodChannelTest.java:69 GoogleSignInLegacyMethodChannelTest > init_InterpretsClientIdAsServerClientId FAILED org.mockito.exceptions.base.MockitoException at GoogleSignInLegacyMethodChannelTest.java:59 Caused by: org.mockito.exceptions.base.MockitoException at GoogleSignInLegacyMethodChannelTest.java:59 Caused by: java.lang.IllegalStateException at GoogleSignInLegacyMethodChannelTest.java:59 Caused by: java.lang.IllegalArgumentException at GoogleSignInLegacyMethodChannelTest.java:59 java.lang.NullPointerException at GoogleSignInLegacyMethodChannelTest.java:69 GoogleSignInLegacyMethodChannelTest > init_PassesForceCodeForRefreshTokenFalseWithServerClientIdParameter FAILED org.mockito.exceptions.base.MockitoException at GoogleSignInLegacyMethodChannelTest.java:59 Caused by: org.mockito.exceptions.base.MockitoException at GoogleSignInLegacyMethodChannelTest.java:59 Caused by: java.lang.IllegalStateException at GoogleSignInLegacyMethodChannelTest.java:59 Caused by: java.lang.IllegalArgumentException at GoogleSignInLegacyMethodChannelTest.java:59 java.lang.NullPointerException at GoogleSignInLegacyMethodChannelTest.java:69 GoogleSignInTest > init_PassesForceCodeForRefreshTokenFalseWithServerClientIdFromResources FAILED org.mockito.exceptions.base.MockitoException at GoogleSignInTest.java:57 Caused by: org.mockito.exceptions.base.MockitoException at GoogleSignInTest.java:57 Caused by: java.lang.IllegalStateException at GoogleSignInTest.java:57 Caused by: java.lang.IllegalArgumentException at GoogleSignInTest.java:57 java.lang.NullPointerException at GoogleSignInTest.java:64 GoogleSignInTest > init_IgnoresClientIdIfServerClientIdIsProvided FAILED org.mockito.exceptions.base.MockitoException at GoogleSignInTest.java:57 Caused by: org.mockito.exceptions.base.MockitoException at GoogleSignInTest.java:57 Caused by: java.lang.IllegalStateException at GoogleSignInTest.java:57 Caused by: java.lang.IllegalArgumentException at GoogleSignInTest.java:57 java.lang.NullPointerException at GoogleSignInTest.java:64 GoogleSignInTest > init_PassesForceCodeForRefreshTokenTrueWithServerClientIdParameter FAILED org.mockito.exceptions.base.MockitoException at GoogleSignInTest.java:57 Caused by: org.mockito.exceptions.base.MockitoException at GoogleSignInTest.java:57 Caused by: java.lang.IllegalStateException at GoogleSignInTest.java:57 Caused by: java.lang.IllegalArgumentException at GoogleSignInTest.java:57 java.lang.NullPointerException at GoogleSignInTest.java:64 GoogleSignInTest > init_PassesForceCodeForRefreshTokenTrueWithServerClientIdFromResources FAILED org.mockito.exceptions.base.MockitoException at GoogleSignInTest.java:57 Caused by: org.mockito.exceptions.base.MockitoException at GoogleSignInTest.java:57 Caused by: java.lang.IllegalStateException at GoogleSignInTest.java:57 Caused by: java.lang.IllegalArgumentException at GoogleSignInTest.java:57 java.lang.NullPointerException at GoogleSignInTest.java:64 GoogleSignInTest > requestScopes_mayBeCalledRepeatedly_ifAlreadyGranted FAILED org.mockito.exceptions.base.MockitoException at GoogleSignInTest.java:57 Caused by: org.mockito.exceptions.base.MockitoException at GoogleSignInTest.java:57 Caused by: java.lang.IllegalStateException at GoogleSignInTest.java:57 Caused by: java.lang.IllegalArgumentException at GoogleSignInTest.java:57 java.lang.NullPointerException at GoogleSignInTest.java:64 GoogleSignInTest > requestScopes_ReturnsTrueIfPermissionGranted FAILED org.mockito.exceptions.base.MockitoException at GoogleSignInTest.java:57 Caused by: org.mockito.exceptions.base.MockitoException at GoogleSignInTest.java:57 Caused by: java.lang.IllegalStateException at GoogleSignInTest.java:57 Caused by: java.lang.IllegalArgumentException at GoogleSignInTest.java:57 java.lang.NullPointerException at GoogleSignInTest.java:64 GoogleSignInTest > requestScopes_mayBeCalledRepeatedly_ifNotSignedIn FAILED org.mockito.exceptions.base.MockitoException at GoogleSignInTest.java:57 Caused by: org.mockito.exceptions.base.MockitoException at GoogleSignInTest.java:57 Caused by: java.lang.IllegalStateException at GoogleSignInTest.java:57 Caused by: java.lang.IllegalArgumentException at GoogleSignInTest.java:57 java.lang.NullPointerException at GoogleSignInTest.java:64 GoogleSignInTest > init_LoadsServerClientIdFromResources FAILED org.mockito.exceptions.base.MockitoException at GoogleSignInTest.java:57 Caused by: org.mockito.exceptions.base.MockitoException at GoogleSignInTest.java:57 Caused by: java.lang.IllegalStateException at GoogleSignInTest.java:57 Caused by: java.lang.IllegalArgumentException at GoogleSignInTest.java:57 java.lang.NullPointerException at GoogleSignInTest.java:64 GoogleSignInTest > init_ForwardsServerClientId FAILED org.mockito.exceptions.base.MockitoException at GoogleSignInTest.java:57 Caused by: org.mockito.exceptions.base.MockitoException at GoogleSignInTest.java:57 Caused by: java.lang.IllegalStateException at GoogleSignInTest.java:57 Caused by: java.lang.IllegalArgumentException at GoogleSignInTest.java:57 java.lang.NullPointerException at GoogleSignInTest.java:64 GoogleSignInTest > requestScopes_ResultErrorIfAccountIsNull FAILED org.mockito.exceptions.base.MockitoException at GoogleSignInTest.java:57 Caused by: org.mockito.exceptions.base.MockitoException at GoogleSignInTest.java:57 Caused by: java.lang.IllegalStateException at GoogleSignInTest.java:57 Caused by: java.lang.IllegalArgumentException at GoogleSignInTest.java:57 java.lang.NullPointerException at GoogleSignInTest.java:64 GoogleSignInTest > signInThrowsWithoutActivity FAILED org.mockito.exceptions.base.MockitoException at GoogleSignInTest.java:57 Caused by: org.mockito.exceptions.base.MockitoException at GoogleSignInTest.java:57 Caused by: java.lang.IllegalStateException at GoogleSignInTest.java:57 Caused by: java.lang.IllegalArgumentException at GoogleSignInTest.java:57 java.lang.NullPointerException at GoogleSignInTest.java:64 GoogleSignInTest > requestScopes_ResultTrueIfAlreadyGranted FAILED org.mockito.exceptions.base.MockitoException at GoogleSignInTest.java:57 Caused by: org.mockito.exceptions.base.MockitoException at GoogleSignInTest.java:57 Caused by: java.lang.IllegalStateException at GoogleSignInTest.java:57 Caused by: java.lang.IllegalArgumentException at GoogleSignInTest.java:57 java.lang.NullPointerException at GoogleSignInTest.java:64 GoogleSignInTest > signInSilentlyThatImmediatelyCompletesWithoutResultFinishesWithError FAILED org.mockito.exceptions.base.MockitoException at GoogleSignInTest.java:57 Caused by: org.mockito.exceptions.base.MockitoException at GoogleSignInTest.java:57 Caused by: java.lang.IllegalStateException at GoogleSignInTest.java:57 Caused by: java.lang.IllegalArgumentException at GoogleSignInTest.java:57 java.lang.NullPointerException at GoogleSignInTest.java:64 GoogleSignInTest > requestScopes_ReturnsFalseIfPermissionDenied FAILED org.mockito.exceptions.base.MockitoException at GoogleSignInTest.java:57 Caused by: org.mockito.exceptions.base.MockitoException at GoogleSignInTest.java:57 Caused by: java.lang.IllegalStateException at GoogleSignInTest.java:57 Caused by: java.lang.IllegalArgumentException at GoogleSignInTest.java:57 java.lang.NullPointerException at GoogleSignInTest.java:64 GoogleSignInTest > requestScopes_RequestsPermissionIfNotGranted FAILED org.mockito.exceptions.base.MockitoException at GoogleSignInTest.java:57 Caused by: org.mockito.exceptions.base.MockitoException at GoogleSignInTest.java:57 Caused by: java.lang.IllegalStateException at GoogleSignInTest.java:57 Caused by: java.lang.IllegalArgumentException at GoogleSignInTest.java:57 java.lang.NullPointerException at GoogleSignInTest.java:64 GoogleSignInTest > init_InterpretsClientIdAsServerClientId FAILED org.mockito.exceptions.base.MockitoException at GoogleSignInTest.java:57 Caused by: org.mockito.exceptions.base.MockitoException at GoogleSignInTest.java:57 Caused by: java.lang.IllegalStateException at GoogleSignInTest.java:57 Caused by: java.lang.IllegalArgumentException at GoogleSignInTest.java:57 java.lang.NullPointerException at GoogleSignInTest.java:64 GoogleSignInTest > init_PassesForceCodeForRefreshTokenFalseWithServerClientIdParameter FAILED org.mockito.exceptions.base.MockitoException at GoogleSignInTest.java:57 Caused by: org.mockito.exceptions.base.MockitoException at GoogleSignInTest.java:57 Caused by: java.lang.IllegalStateException at GoogleSignInTest.java:57 Caused by: java.lang.IllegalArgumentException at GoogleSignInTest.java:57 java.lang.NullPointerException at GoogleSignInTest.java:64 34 tests completed, 34 failed > Task :google_sign_in_android:testDebugUnitTest FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':google_sign_in_android:testDebugUnitTest'. > There were failing tests. See the report at: file:///C:/Users/foong/OneDrive/Documents/GitHub/Orbital/orbital/build/google_sign_in_android/reports/tests/testDebugUnitTest/index.html * Try: > Run with --scan to get full insights. Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0. You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins. For more on this, please refer to https://docs.gradle.org/8.8/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation. BUILD FAILED in 29s 735 actionable tasks: 31 executed, 704 up-to-date ```

Screenshots or Video

Screenshots / Video demonstration ![image](https://github.com/user-attachments/assets/c65d15d0-19c6-4da7-be75-b70bec2bbf0b)

Flutter Doctor output

Doctor output ```console [√] Flutter (Channel stable, 3.22.2, on Microsoft Windows [Version 10.0.22631.3880], locale en-SG) • Flutter version 3.22.2 on channel stable at C:\Users\foong\flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 761747bfc5 (6 weeks ago), 2024-06-05 22:15:13 +0200 • Engine revision edd8546116 • Dart version 3.4.3 • DevTools version 2.34.3 [√] Windows Version (Installed version of Windows is version 10 or higher) [√] Android toolchain - develop for Android devices (Android SDK version 33.0.1) • Android SDK at C:\Users\foong\android • Platform android-34, build-tools 33.0.1 • ANDROID_SDK_ROOT = C:Users\foong\android • Java binary at: C:\Program Files\Java\jdk-22\bin\java • Java version Java(TM) SE Runtime Environment (build 22.0.1+8-16) • All Android licenses accepted. [X] Chrome - develop for the web (Cannot find Chrome executable at .\Google\Chrome\Application\chrome.exe) ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable. [X] Visual Studio - develop Windows apps X Visual Studio not installed; this is necessary to develop Windows apps. Download at https://visualstudio.microsoft.com/downloads/. Please install the "Desktop development with C++" workload, including all of its default components [!] Android Studio (not installed) • Android Studio not found; download from https://developer.android.com/studio/index.html (or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions). [√] VS Code (version 1.91.1) • VS Code at C:\Users\foong\AppData\Local\Programs\Microsoft VS Code • Flutter extension version 3.92.0 [√] Connected device (2 available) • Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.22631.3880] • Edge (web) • edge • web-javascript • Microsoft Edge 126.0.2592.102 [√] Network resources • All expected network resources are available. ```
huycozy commented 2 months ago

Thanks for the report!

This is a known issue being tracked at https://github.com/flutter/flutter/issues/109350. Closing this issue as a duplicate, so please follow up on it for further updates.

github-actions[bot] commented 1 month ago

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.