Question: Unable to run flutter from Android Studio not detecting flutter project its shows Error: Entry point isn't within the current project

Every time restart android studio same error message shows

[![enter image description here](https://i.stack.imgur.com/2ZDEP.png)](https://i.stack.imgur.com/2ZDEP.png)

Answer: 
This problem happened to me

I solved it this way

Go to the Android Studio track

I have this way

```
C:\Users\mustafamaxL\.AndroidStudio4.0\system

```

Remove folder (caches)

Then, start Android Studio again
```
I have created 2 folders inside lib's folder for my *pages* and *widgets*. 
Getting the main.dart file back to the **lib folder** will do the trick

```

[![enter image description here](https://i.stack.imgur.com/aDpbE.jpg)](https://i.stack.imgur.com/aDpbE.jpg)