Flutter App stuck at “Running Gradle task 'assembleDebug'… ”

后端 未结 30 3510
你的背包
你的背包 2020-12-08 18:28

When I run the app it get stuck

Launching lib\\main.dart on Lenovo A319 in debug mode...
Running Gradle task \'assembleDebug\'...
(This is taking an unexpec         


        
30条回答
  •  独厮守ぢ
    2020-12-08 18:55

    There were two reasons for me on Archlinux:

    1. I needed to unset TERM which was set to xterm-256color (reference).
    2. For some reason, flutter stable was not working for me; so I switched to master with: flutter channel master && flutter upgrade. I'll be able to switch back to flutter stable when the fix in master makes its way into stable (reference).

提交回复
热议问题