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

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

    This is likely one of number of issues and some of the recommended troubleshooting can be found here.

    1. Check that you are building against an Android sdk that you have installed... in your build.gradle file check the compileSdkVersion.

    2. You can try uninstalling and reinstalling the relevant SDK.

    3. Some users have reported that they had to resintall Dart.

    Without a little more information basic troubleshooting is the best we can offer sorry.

    Good luck.

提交回复
热议问题