Initializing Gradle is taking forever on android studio for Flutter project

前端 未结 7 2302
遇见更好的自我
遇见更好的自我 2021-01-03 22:16

I\'m trying to run a hello world flutter app for the first time on my device, but when I hit run on android studio, it shows initilizing gradle, and it stays like that for m

7条回答
  •  误落风尘
    2021-01-03 22:51

    The problem is that Gardle is downloading dependencies and not using any way to show progress(This is NOT good for UX), so it is better to run gradlew.bat in the terminal and things will become more clear, like this:

    Now it is much better, You can have a cup of coffee while watching it ;)

提交回复
热议问题