Open Megagonn opened 1 year ago
Flutter doctor: [√] Flutter (Channel stable, 3.0.5, on Microsoft Windows [Version 10.0.19044.1826], locale en-US) • Flutter version 3.0.5 at C:\Users\Ahfa Yusuf\Desktop\Folders\flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision f1875d570e (6 weeks ago), 2022-07-13 11:24:16 -0700 • Engine revision e85ea0e79c • Dart version 2.17.6 • DevTools version 2.12.2
[√] Android toolchain - develop for Android devices (Android SDK version 31.0.0) • Android SDK at C:\Users\Ahfa Yusuf\AppData\Local\Android\sdk • Platform android-31, build-tools 31.0.0 • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174) • All Android licenses accepted.
[√] Chrome - develop for the web • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.1.2) • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community • Visual Studio Community 2022 version 17.1.32319.34 • Windows 10 SDK version 10.0.20348.0
[√] Android Studio (version 4.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 11.0.8+10-b944.6842174)
[√] VS Code, 64-bit edition (version 1.68.1) • VS Code at C:\Program Files\Microsoft VS Code • Flutter extension version 3.46.0
[√] Connected device (4 available) • Infinix X650 (mobile) • 05176119CQ022707 • android-arm • Android 8.1.0 (API 27) • Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.19044.1826] • Chrome (web) • chrome • web-javascript • Google Chrome 104.0.5112.102 • Edge (web) • edge • web-javascript • Microsoft Edge 103.0.1264.49
[√] HTTP Host Availability • All required HTTP hosts are available
• No issues found!
Kindly help.......
Hello @Megagonn. Can you please provide the output of running flutter run -v
. Thank you.
Hello @Megagonn. Can you please provide the output of running
flutter run -v
. Thank you.
Thanks @exaby73
From this StackOverflow answer, looks like an issue with Android Studio. Could you upgrade Android Studio to the latest version and check again?
From this StackOverflow answer, looks like an issue with Android Studio. Could you upgrade Android Studio to the latest version and check again?
hi @exaby73 , I have upgraded my android studio to the latest version but the issue persist. Thanks.
Does this error occur with the Flutter counter application?
Does this error occur with the Flutter counter application?
Hi @exaby73, Yes.
Okay thank you. I cannot reproduce this issue. I am labelling it for further insights from the team.
Okay. Thanks.
C:\Users\Ahfa Yusuf\Desktop\flutter_apps\Flutter II\tt\android\gradlew.bat
Does this reproduce if your path doesn't have a space in it? Tools on Windows often can't handle spaces or special characters in paths; that may be the case for the gradle build.
C:\Users\Ahfa Yusuf\Desktop\flutter_apps\Flutter II\tt\android\gradlew.bat
Does this reproduce if your path doesn't have a space in it? Tools on Windows often can't handle spaces or special characters in paths; that may be the case for the gradle build.
Hi @stuartmorgan , Yes, it does.
Hi @stuartmorgan, @exaby73, @darshankawar , I just upgraded to flutter 3.3 and the issue still persist.
any update on this issue?
any update on this issue?
I think the issue is with the .gradle folder on my system.
I actually change my hard drive and i had to install everything from scratch, and i have not come across the issue since then. I will suggest, if anyone come across the same issue, that they should deleted the gradle folder and get updated one.
Thanks.
I think that this issue can be closed - I can't see what could be an action item here.
Launching lib\main.dart on Infinix X650 in debug mode...
FAILURE: Build failed with an exception.
Where: Build file 'C:\Users\Ahfa Yusuf\Desktop\flutter_apps\Flutter II\Projects\leaddata\android\app\build.gradle' line: 24
What went wrong: A problem occurred evaluating project ':app'.
Try:
Get more help at https://help.gradle.org
BUILD FAILED in 2s Running Gradle task 'assembleDebug'... 3.5s Exception: Gradle task assembleDebug failed with exit code 1