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
This is likely because you've put Flutter in Program Files
which requires admin permissions to be able to write its cache files.
I've got a PR Open that should result in a more friendly error, but I'd recommend moving Flutter away to a folder that non-Admin users can write to.
For me this worked in Windows 10 :
How much time it took to create the project ? 2 minutes
in windows try to run android studio as administrator and create new flutter project
I was struck with the same problem a while back. After a lot of stumbling I got it right.
First of all delete your previous cloned flutter files and install git in your user folder. Like
C:\users\username\
Clone flutter in your git directory,set the path
C:\users\username\git\flutter\bin
Now use the command flutter doctor If you have android studio and intellij IDE, install flutter plugins in both of them and now create a new project.
You are all set to go
Had the same issue.
Just run Android Studio/IntelliJ in administrator mode. It works.
In my case this was the issue - I checked create project offline checkbox. Please sure that this checkbox is unchecked.