Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty project folder after creating new Flutter "Project" in Android Studio #2443

Closed
Eng-MohamedGadala opened this issue Jun 27, 2018 · 5 comments

Comments

@Eng-MohamedGadala
Copy link

Thanks for the feedback! If your issue is related to the Flutter framework itself,
please open an issue at
github.com/flutter/flutter.

Steps to Reproduce

Nothing happens when I create a new Flutter "Project" with project name nflutterpro in an Android Studio only folder is created with name nflutterpro and contain 2 folders named (.idea,android).
dart plugin and flutter are installed.

Creating new Flutter project works fine using flutter cmd console (flutter create nflutterpro) works fine.

Version info

[√] Flutter (Channel beta, v0.5.1, on Microsoft Windows [Version 10.0.17134.112], locale en-US)
• Flutter version 0.5.1 at C:\flutter
• Framework revision c7ea3ca377 (4 weeks ago), 2018-05-29 21:07:33 +0200
• Engine revision 1ed25ca7b7
• Dart version 2.0.0-dev.58.0.flutter-f981f09760

[√] Android toolchain - develop for Android devices (Android SDK 27.0.3)
• Android SDK at E:\androidsdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-P, build-tools 27.0.3
• ANDROID_HOME = E:\androidsdk
• Java binary at: E:\Instolation App Work\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02)
• All Android licenses accepted.

[√] Android Studio (version 3.1)
• Android Studio at E:\Instolation App Work\Android Studio
• Flutter plugin version 25.0.1
• Dart plugin version 173.4700
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02)

[!] VS Code, 64-bit edition (version 1.24.1)
• VS Code at C:\Program Files\Microsoft VS Code
• Flutter extension not installed; install from
https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[√] Connected devices (1 available)
• Android SDK built for x86 • emulator-5554 • android-x86 • Android 6.0 (API 23) (emulator)

! Doctor found issues in 1 category.

@devoncarew
Copy link
Member

Can you check and see if there are any exceptions in your log file? I think you can find it from the Help menu in Android Studio.

@stevemessick

@Eng-MohamedGadala
Copy link
Author

thanks for your response I found the solution in StackOverflow.
the problem in Zip file I don't know what is it but this solves this problem.
https://stackoverflow.com/questions/50776550/flutter-mysql-is-not-recognized-as-an-internal-or-external-command
Unfortunately, the Zip provided on flutter.io gave me a problem. To avoid this error, I had to use the GitHub repository following the following procedure.

Go to C:\ Drive and create a folder called flutter.
Go to that folder and start git bash
Type git clone -b beta https://github.com/flutter/flutter.git and enter
After its complete, add the path C:\flutter\flutter\bin in environment variables
Finally, start CMD and type flutter doctor and the error is disappeared

@Eng-MohamedGadala
Copy link
Author

fixed #2443

@nb312
Copy link

nb312 commented Nov 2, 2018

I also have this problem and use the project from git.

@Qing-cpu
Copy link

Do not install Flutter in a directory like C:\Program Files\ that requires elevated privileges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants