"Creating a new project from existing source code" guidance is not valid anymore
See original GitHub issue@haqqi commented on Fri May 18 2018
From URL: https://flutter.io/using-ide/
Because the recent Flutter plugin for Android Studio, the guide for importing existing code is not valid anymore. I cannot find any menu of creating Flutter using existing code. If i try to create new Flutter app, it will show error if the existing folder exists.
Any idea how to import existing project properly in Android Studio?
@skota commented on Fri May 18 2018
Hmm!..i just clicked ‘open an existing android studio project’.
Disclaimer: I am an absolute beginner with flutter. Pls ignore if my answer above is not relevant.
@zoechi commented on Fri May 18 2018
Please add the output of flutter doctor
@haqqi commented on Fri May 18 2018
PS C:\Users\Haqqi> flutter doctor -v
[√] Flutter (Channel beta, v0.3.2, on Microsoft Windows [Version 10.0.17134.48], locale en-US)
• Flutter version 0.3.2 at D:\development\flutter
• Framework revision 44b7e7d3f4 (4 weeks ago), 2018-04-20 01:02:44 -0700
• Engine revision 09d05a3891
• Dart version 2.0.0-dev.48.0.flutter-fe606f890b
[√] Android toolchain - develop for Android devices (Android SDK 27.0.3)
• Android SDK at D:\development\android-sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-27, build-tools 27.0.3
• ANDROID_HOME = D:\development\android-sdk
• Java binary at: C:\Program Files\Android\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 C:\Program Files\Android\Android Studio
• Flutter plugin version 24.2.1
• Dart plugin version 173.4700
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02)
[√] Connected devices (1 available)
• ONEPLUS A3003 • 192.168.1.8:5555 • android-arm64 • Android 8.0.0 (API 26)
• No issues found!
NB: i did not say that Open an existing Android Studio project
does not work. It works, but not perfectly just like when i created a new project of Flutter. For example, the project file browser is not displaying correct list.
So, what i did to continue existing project is:
- Create new Flutter project, then close the Android Studio
- Copy-Paste and replace my existing project to the new project
- Open Android Studio again.
In the end, this issue is addressed to the both of guide page, and maybe flutter plugin for Intellij.
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (3 by maintainers)
Top GitHub Comments
Thanks for following up @zoechi !
Issue moved to flutter/website #1928 via ZenHub