abalta
abalta

Reputation: 1257

New Flutter Project wizard not showing on Android Studio 3.0.1

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 Android Studio 3.0.1

I run "flutter doctor" command. See the below output.

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, v0.1.5, on Mac OS X 10.13.3 17D102, locale en-TR)
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 9.2)
[✓] Android Studio (version 3.0)
[✓] IntelliJ IDEA Community Edition (version 2017.3.3)
[!] Connected devices
    ! No devices available

! Doctor found issues in 1 category.

Upvotes: 83

Views: 67420

Answers (24)

Ahmed Ziet
Ahmed Ziet

Reputation: 1

just make sure you enable the Android Apk Support and its will work for sure

Upvotes: -1

Daniel Kabu Asare
Daniel Kabu Asare

Reputation: 288

I had the same issue sometime ago even after installing both Dart and Flutter plugins for intelliJ, I fixed it like this...

STEP ONE: Click "Repair IDE"

step one

STEP TWO: Click "Rescan Project Indexes" at the bottom

step two

STEP THREE: Click "Reopen Project" at the bottom step three

Upvotes: 3

In my case I only miss Dart plugin so i installed and on IDE restart it was there

Upvotes: 0

Nikhil Soni
Nikhil Soni

Reputation: 939

Do this Just Restore your IDE settings as shown in image

File -> Manage Ide Settings -> Restore default settings

This will remove your installed plugins and ask you again to install them.

Upvotes: 5

prashantchalise
prashantchalise

Reputation: 506

It was little different in my case. After upgrading to newest release of Android studio. The dart flutter and other related plugins were in incompatible mode. You can check that by going to Android Studio=> Plugins.

I simply update those plugins and then restart the IDE and it works fine. Android studio 4. Plugin update window.

Upvotes: 3

Vivek Shah
Vivek Shah

Reputation: 380

Well go to command line and check flutter doctor , if all good give command to your project directory

flutter create appname

and import this to androidstudio , this will generate necessary plugins.

Upvotes: 2

ovidiur
ovidiur

Reputation: 338

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

Upvotes: 1

Somal Chakraborty
Somal Chakraborty

Reputation: 31

Even if you have done everything here,it may not work if you have Android Studio 4.x or canary It works only in lower version

Upvotes: 0

mayi
mayi

Reputation: 1861

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

See this screenshot: Android APK Support must be ticked in "Plugins"

Upvotes: 186

Mirko Raimo
Mirko Raimo

Reputation: 1579

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!

Android APK Support

Et voilà! Now everything should be fine:

New Flutter project

You can find the plugin menu inside the Welcome page Plugin from Welcome page

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

Upvotes: 66

Chime Francis
Chime Francis

Reputation: 21

Make sure you have flutter and dart installed, then enable Android apk support; this helped me

Upvotes: 2

div
div

Reputation: 1533

  1. Uninstall Flutter and Dart plugin

  2. Restart Android Studio

  3. Install Flutter Plugin (it will prompt you to install Dart plugin as well. Accept it)

  4. Restart Android Studio

Also, reminder to check whether the plugin is enabled or not. Go to Preferences -> Plugins -> Flutter/Dart. Although, it's enabled by default, you may have had to disable it at some point in the past. In that case, just enable it from Preferences -> Plugin -> Flutter/Dart if you want to.

Upvotes: 1

uzay95
uzay95

Reputation: 16632

My answer will be nearly same with @VickyBOSS but I'll upload screenshots of before and after ;)

First and foremost Flutter and Dart plugins must be installed before. enter image description here

After installing these plugins you can check if it is ok or not with flutter doctor enter image description here

If you hadn't installed the plugins you would have this: enter image description here

Android Studio At first, I didn't see "Start a new Flutter project" enter image description here enter image description here

After: enter image description here

Upvotes: 38

Axel
Axel

Reputation: 528

Had the same problem. Check-in Android Studio if the Dart and Flutter plugins are both installed and marked with a lock symbol in Preferences --> Plugins.

Anyway, the following procedure helped me:

  1. uninstall the Flutter plugin
  2. restart Android Studio.
  3. uninstall the Dart plugin
  4. restart Android Studio again which seemed important to do
  5. install the Dart plugin again
  6. restart Android Studio although it is annoying
  7. install the Flutter plugin again
  8. and guess: restart Android Studio

After the last restart I saw the success message:

success notification of flutter

I assume we both installed both plugins without restarting after Dart.

Upvotes: 48

Shavneet
Shavneet

Reputation: 111

  1. Yes first update all your plugins related to flutter and dart .
  2. "AndroidAPK Support" plugin(install /enable /update).

3.This will work for all the AS , checked this on AS 3.4 also .

  1. Thanks to the guys who answered before me .

Upvotes: 11

Smashing
Smashing

Reputation: 1710

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.

Upvotes: 9

VickyBOSS
VickyBOSS

Reputation: 461

I also faced it but soon I solved it

I simply install flutter and dart plugins and restarted Android Studio.

After restarting I noticed that there is no Wizard for creating flutter apps. But soon I realized that I have disabled some plugins ( Android Studio's default plugins ) so I enabled all plugins and restarted Android Studio again and BOOM! Now there is a wizard for Creating Flutter Apps.

Hope this helps you !

Upvotes: 46

humazed
humazed

Reputation: 76922

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.

Upvotes: 2

Wei WANG
Wei WANG

Reputation: 1778

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.

Upvotes: 0

Ramij
Ramij

Reputation: 31

Update flutter using below command

flutter upgrade

and again create flutter application from android studio

Upvotes: 2

nb2998
nb2998

Reputation: 469

This worked for me.

Install Dart and Flutter manually from Plugins:

  • Open Plugins (For Mac: Configure -> Plugins OR Android Studio -> Preferences -> Plugins)
  • Search for Dart -> Search in repositories -> Install -> Restart Android studio
  • Search for Flutter -> Search in repositories -> Install -> Restart Android Studio

Upvotes: 6

priyankjain
priyankjain

Reputation: 31

How to set flutter wizard in Android Studio 3.0

  1. File > Close Project
  2. Configure > Check for Updates
  3. You will find Flutter and Dart updates. Update and Restart. Downloading Patch.
  4. File > New Flutter Project or Select new Flutter Project.

Hope your problem resolved. Happy Codings!!

Upvotes: 3

kavatari
kavatari

Reputation: 745

Got the same problem, fixed it by installing dart first using the plugin manager of android studio. Then install flutter plugin.

Upvotes: 6

saurabh patel
saurabh patel

Reputation: 141

I have also same problem.but what can you do in that situation is Just create the project with command line :

flutter create your_app_name

Now open android studio and open that project. Hope this works well

Upvotes: 14

Related Questions