Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error: Entrypoint isn't within the current project

Tags:

flutter

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

like image 797
selva kumar Avatar asked Jul 12 '19 04:07

selva kumar


People also ask

Can t run Flutter app in Android Studio?

If you haven't run your Flutter app yet, you might see Android Studio report a build error when you open the android project. Run flutter pub get in the app's root directory and rebuild the project by selecting Build > Make to fix it.

Which function acts as an entry point flutter app?

In Dart, the entry point is the main() function.

What is flutter SDK path?

C:\>where flutter dart C:\dev\src\flutter\bin\flutter C:\dev\src\flutter\bin\flutter.bat C:\dev\src\flutter\bin\dart C:\dev\src\flutter\bin\dart.bat C:\dev\src\dart-sdk\bin\dart.exe. However, if you are using PowerShell , in it where is an alias of Where-Object command, so you need to use where.exe instead.


1 Answers

Delete the .idea folder inside the root of the flutter project and restart Android Studio.

Refer to this question: What is the .idea folder? and make your decision if it's safe or not to delete .idea folder.

like image 76
Maddu Swaroop Avatar answered Sep 22 '22 10:09

Maddu Swaroop