Reputation: 51
Please I need Help Solving this Issue
I have been running my flutter app without issues, but recently I can't run or debug my apps again, each time I try running my app from the terminal or debug console it always get stuck at Flutter App stuck at “Running Gradle task 'assembleDebug'”
C:\Development\projects\flutter>cd kchat
C:\Development\projects\flutter\Kchat>flutter run Running "flutter pub get" in Kchat... 3.6s Launching lib\main.dart on GIONEE S10C in debug mode... Running Gradle task 'assembleDebug'... (This is taking an unexpectedly long time.)
Upvotes: 2
Views: 5920
Reputation: 51
I have solved the problem by running
flutter run -v
it fixed all the problem but took a longer time, and I can now use
flutter run
but still can't use Debug console
Upvotes: 2
Reputation: 119
Alternatively, try to fix your project. Delete the android folder in your project, having previously saved it in another place, then in the terminal run flutter create your_project_name for the folder in which your project is located.
Upvotes: -1