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: 
> 
> Click on File-> Project Structure -> Module then add root folder of
>  your project then it will detect its a flutter app and then build and
>  work
> 
> 
> 

its work for me

**Reference: <https://github.com/flutter/flutter-intellij/issues/2307>**
If your ios, android, or lib folders are missing, it typically means there is something wrong with your project structure.

To fix it, delete the .idea folder in the root of your project and then restart Android Studio. If you're using a Mac, you can display the hidden .idea folder by [pressing Command+Shift+Dot in Finder](https://setapp.com/how-to/show-hidden-files-on-mac#:%7E:text=See%20hidden%20files%20on%20Mac%20via%20Finder&text=In%20Finder%2C%20open%20up%20your,2%20to%20hide%20them%20again!).

The .idea folder will be automatically regenerated and everything should be back where it belongs.

See [this post](https://github.com/flutter/flutter-intellij/issues/2307#issuecomment-627768384) for the original solution.