Skip to content Skip to sidebar Skip to footer

"flutter Run" Gets Stuck At "running Gradle Task 'assembledebug"

I updated Flutter to the latest stable version today - 1.12.13+hotfix.7 (I was running 1.12.13+hotfix.6 before). When I tried to run my project in vs code with flutter run it alway

Solution 1:

The issue has been resolved upstream. If you want to consume it you will have to switch to the master channel (for now. It will arrive in the stable channel at some point) by running

flutter channel master

After running that, I was able to build my apk just fine on Linux 5.5

Solution 2:

flutter clean worked for me

I had the same issue. I tried so many solutions and finally found on Github. Try this command in the terminal.

Solution 3:

I had the same problem and solved it. I ran flutter doctor --android-licenses as sudo. I used the whole path, don't know if that's necessary though.

For example I did it like that: sudo /home/jan/development/languages+devtools/flutter/bin/flutter doctor --android-licenses

After that everything worked.

Solution 4:

I tried every answer I found about it, but none of them worked.

Finally I fixed it by deleting the Android Virtual Device I had and creating a new one. In my case looks like it was a problem with the android emulator rather than a flutter bug.

Post a Comment for ""flutter Run" Gets Stuck At "running Gradle Task 'assembledebug""