New Flutter Project wizard not showing on Android Studio 3.0.1

前端 未结 18 1992
南笙
南笙 2020-12-13 12:58

I installed Flutter following official document and also installed Flutter and Dart plugin on Android Studio.

But, I can\'t see File>New Flutter Project wizard on An

相关标签:
18条回答
  • 2020-12-13 13:02

    For some reason, Flutter refused to show New Flutter Project in android studio 3.1

    but when I use android studio 3.2 it works fine after installing Dart and flutter plugins.

    0 讨论(0)
  • I've got the same problem and finally sorted out. It's usually caused by your upgrade of Android Studio from 2.x to 3.x at the same time.

    In short, it's because Flutter is not correctly configurated, but behind the scene there might be different reasons, so the universal solution is to run flutter doctor -v to diagnose and see what's missing.

    [First make sure you've already followed the setup steps in Flutter's official documentation and have your Android SDK updated.]

    In my own case, a couple of things to fix:

    1. Update the JAVA_HOME path in .bash_profile. Because I have 2 Java versions installed and so I updated it to use the same as Android Studio does. This is critical as flutter doctor relies on Java to check some of your configurations.

    2. Some Android licenses not accepted - follow flutter doctor's advice to accept all licenses.

    3. Android Studio's Flutter plugin version too low - simply update it.

    0 讨论(0)
  • 2020-12-13 13:04

    I also ran into this issue and the steps above didn't work. What I did was check which plugins I have enabled and realized that Android APK Support and Android NDK Support was disabled in my AS. After enabling this and restarting android studio everything seems to be working correctly.

    0 讨论(0)
  • 2020-12-13 13:06

    In my case I did not have APK/NDK support Plugin, added that and it worked. Of course restart IDE couple of times.

    0 讨论(0)
  • 2020-12-13 13:07

    If you are sure to have both Dart and Flutter plugins correctly installed, check again your Plugins and be sure that Android APK Support is enabled.
    If it isn't, enable it!

    Et voilà! Now everything should be fine:

    You can find the plugin menu inside the Welcome page

    or, when you have a project opened, inside the Preferences menu:

    0 讨论(0)
  • 2020-12-13 13:08

    You need check the “AndroidAPK Support” in your Plugins.

    See this screenshot:

    0 讨论(0)
提交回复
热议问题