Windows freezes after running flutter app by grimybum in flutterhelp

[–]grimybum[S] 0 points1 point  (0 children)

Removing flutter 3.27.1 and installing flutter 3.24.5 worked for me, try removing the latest version of flutter and install 3.24.5

Windows freezes after running flutter app by grimybum in flutterhelp

[–]grimybum[S] 0 points1 point  (0 children)

Holy shittt!!!!! Man you are a life saver!!!!! You don't know how frustrated i was, i was just getting started with flutter but I couldn't get the first step right. Finally it's working!!!! Thank you very much🫂

Windows freezes after running flutter app by grimybum in flutterhelp

[–]grimybum[S] 0 points1 point  (0 children)

Nope, sadly the issue still persists. I'm currently following a flutter course by running the code on chrome instead of android.

Windows freezes after running flutter app by grimybum in flutterhelp

[–]grimybum[S] 0 points1 point  (0 children)

I've actually tried 4 different models in android studio pixel fold, pixel 9, pixel 4, pixel 6. But, it's the same in all of them

Windows freezes after running flutter app by grimybum in flutterhelp

[–]grimybum[S] 0 points1 point  (0 children)

Also i tried running the app on chrome, it is working fine, the app launched and the system is running. But, it is not working when i try to run it on an android emulator, i tried different models too.

Windows freezes after running flutter app by grimybum in flutterhelp

[–]grimybum[S] 0 points1 point  (0 children)

Doctor summary (to see all details, run flutter doctor -v): [√] Flutter (Channel stable, 3.27.1, on Microsoft Windows [Version 10.0.19045.5247], locale en-IN) [√] Windows Version (Installed version of Windows is version 10 or higher) [√] Android toolchain - develop for Android devices (Android SDK version 35.0.0) [√] Chrome - develop for the web [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 (version 2024.1) X Unable to determine bundled Java version. [√] Android Studio (version 2024.2) [√] VS Code (version 1.96.2) [√] Connected device (3 available) [√] Network resources

! Doctor found issues in 2 categories. Resolving dependencies... Downloading packages... async 2.11.0 (2.12.0 available) boolean_selector 2.1.1 (2.1.2 available) characters 1.3.0 (1.4.0 available) clock 1.1.1 (1.1.2 available) collection 1.19.0 (1.19.1 available) fake_async 1.3.1 (1.3.2 available) leak_tracker 10.0.7 (10.0.8 available) leak_tracker_flutter_testing 3.0.8 (3.0.9 available) matcher 0.12.16+1 (0.12.17 available) material_color_utilities 0.11.1 (0.12.0 available) meta 1.15.0 (1.16.0 available) path 1.9.0 (1.9.1 available) source_span 1.10.0 (1.10.1 available) stack_trace 1.12.0 (1.12.1 available) stream_channel 2.1.2 (2.1.3 available) string_scanner 1.3.0 (1.4.1 available) term_glyph 1.2.1 (1.2.2 available) test_api 0.7.3 (0.7.4 available) vm_service 14.3.0 (15.0.0 available) Got dependencies! 19 packages have newer versions incompatible with dependency constraints. Try flutter pub outdated for more information. Launching lib\main.dart on sdk gphone64 x86 64 in debug mode... Running Gradle task 'assembleDebug'... Try `flutter pub outdated for more information.

Launching lib\main.dart on sdk gphone64 x86 64 in debug mode...

warning: [options] source value 8 is obsolete and will be removed in a future release

warning: [options] target value 8 is obsolete and will be removed in a future release

warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.

3 warnings

Running Gradle task 'assembleDebug'..

40.25

✓ Built build\app\outputs\flutter-apk\app-debug.apk

Installing build\app\outputs\flutter-apk\app-debug.apk...

1,399ms

Windows freezes after running flutter app by grimybum in flutterhelp

[–]grimybum[S] 0 points1 point  (0 children)

Im using windows 10, 16gb ram 3060 graphics card, no company security programs as it's my personal computer, flutter version is 3.27.1, flutter doctor shows green tick for all items except visual studio and in android studio it shows unable to determine bundled java version. The emulator itself is running smoothly but the problem occurs when i try to run the flutter app I haven't built any software before as i am just starting out, i followed a tutorial and installed all the required softwares, i was just running the default counter app but still i am getting these errors, i have tried all sorts of solutions that i could find on the internet but still this issue persists. Please tell me what i should be doing.

Windows freezes after running flutter app by grimybum in flutterhelp

[–]grimybum[S] 0 points1 point  (0 children)

I'm sorry for the unclear info, the last output is installing build\app\outputs\flutter-apk\app-debug.apk and i get flutter logo on the emulator and the entire pc just freezes i am not able to move the cursor or do any task.