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

后端 未结 30 3625
你的背包
你的背包 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:57

    If you are on Windows: try adding firewall exceptions to your Android Studio.

    1. Go to:

      Control Panel\System and Security\Windows Defender Firewall\Allowed apps

    2. Hit the button:

      Allow another app

    3. Add your new firewall exceptions:

      studio.exe and studio64.exe

    I hope this can be useful for you too.

提交回复
热议问题