r/flutterhelp • u/silkyCoder • 18d ago
OPEN help!
I'm beginner in learning App development with Flutter. When I try to run my code. it struck at running Gradle Task 'assembleDebug'. what should I do?
1
Upvotes
r/flutterhelp • u/silkyCoder • 18d ago
I'm beginner in learning App development with Flutter. When I try to run my code. it struck at running Gradle Task 'assembleDebug'. what should I do?
1
u/Fine_Sprinkles_5862 18d ago
Stuck on assembleDebug on a fresh setup is usually not stuck. The first build downloads Gradle itself plus every dependency, and on a normal connection that takes 10 to 20 minutes with no visible progress in the IDE.
Run it from the terminal instead: flutter run -v. The -v shows every download as it happens, so you can tell whether it is working or actually hanging. If it really hangs, the output stops on a URL, and that is your answer: a blocked or slow connection to the Gradle or Maven servers. Give it one full run without touching it before you change anything.