"flutter Run" Gets Stuck At "running Gradle Task 'assembledebug"
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""