Android Studio stuck when creating new Flutter project

前端 未结 11 932
后悔当初
后悔当初 2021-01-17 12:52

I have installed Flutter on Windows and checked all is ok using flutter doctor. I imported the Flutter plugin.

Now, when I try to create a new Flutter app via Anroid

11条回答
  •  暖寄归人
    2021-01-17 13:48

    I had the same issue on MacOS 10.13.4, when creating a new Flutter project on the Android Studio (3.1), the IDE got stuck, showing the phrase "building symbols" on the bottom of the window.

    When running the command flutter run on the cli, the message was: startup lock.

    then I removed the lock from the flutter sdk cache: rm ./bin/cache/lockfile

    this is an issue reported on https://github.com/flutter/flutter/issues/7768

提交回复
热议问题