Description
Hi i am trying to open a flutter project from bitbucket with git.
I use the option "check out project from Version Control". Use the bitbucket https url. The files downloaded successfully. The AS asks if i want to make a new project from the downloaded files and i check yes. In the next screen select the "Import project from external model " and Gradle. Next screen set the Gradle home "Android/Android Studio/gradle/gradle-5.1.1" and select finish. The project opens and in the main.dart i press the Enable Dart Support and download the dependencies and the project runs in the android device emulator. All runs smoothly but when i close the AS and reopen the project this thing happens
No lib , android or ios folder. If i run the command "flutter run" from the terminal the project runs.
But if i want to change something in any dart file from the "Project Files" perspective the AS shows "This file does not belong to the project".
Also tried to move the entire project folder from one pc to another and just select open from AS but the results are the same.
##Android studio version
Android Studio 3.4
Build #AI-183.5429.30.34.5452501, built on April 10, 2019
JRE: 1.8.0_152-release-1343-b01 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
Flutter doctor
[√] Flutter (Channel stable, v1.5.4-hotfix.2, on Microsoft Windows [Version 10.0.17763.475], locale el-GR)
• Flutter version 1.5.4-hotfix.2 at C:\flutter
• Framework revision 7a4c33425d (9 days ago), 2019-04-29 11:05:24 -0700
• Engine revision 52c7a1e849
• Dart version 2.3.0 (build 2.3.0-dev.0.5 a1668566e5)
[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at C:\Users\John\AppData\Local\Android\sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.3
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
• All Android licenses accepted.
[√] Android Studio (version 3.4)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin version 35.2.1
• Dart plugin version 183.6270
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
[!] Connected device
! No devices available