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
You might need to **update the Gradle version.** Or change the minimum android SDK version.

Here is worked for me:

### Update Gradle / minSdkVersion version

1. Reopen the project but at the directory `user/StudioProjects/yourFlutterApp/android`.
After it is opened it will load some packages (see right bottom), which will take some time.
2. It will ask you to update the Gradle version (right-left corner) or go under `File>Project` `Structure Project` you can set a higher Gradle version and under `Modules` variables of your build
3. Now you can sync your project with Gradle files

After configuration, you might need to restart your project with `File>Invalid Caches/Restart...`.