2

I open it my project but I can't run it.. I didn't do anything. How can I resolve this problem???enter image description here

Ma_no
  • 81
  • 1
  • 1
  • 5

3 Answers3

0

Click on the drop down icon on side of "main.dart" with flutter icon error and go to "Edit Configurations...", see if shows any error name or code. If there is an error or a code, send it here, maybe this will help more

  • Thanks for your help and there's Error ' Entrypoint isn't within the current project – Ma_no May 30 '22 at 09:01
  • There is a link to this [issue](https://stackoverflow.com/questions/57000043/error-entrypoint-isnt-within-the-current-project#:~:text=If%20your%20ios%2C%20android%2C%20or,and%20then%20restart%20Android%20Studio.) on stackover flow. About the same topic Hope will help! – JJ - Victor Jun 02 '22 at 00:07
0

click on File >> click on Settings >> search by sdk >> click on Dart(inside Languages & Frameworks) >> check Enable Dart support for the project >> select Dart SDK path >> check Enable Dart support for the following modules >> click on Apply

You should see the image If you have any confusion.

Then I think you get your solution.

Shawon
  • 384
  • 2
  • 9
0

The solution to this warning 'Entrypoint is not a dart file' after saving work done is by following this.

  • Go To File in Android Studio

  • Menu at the top Manage

  • IDE Settings Restore Default Settings

  • Restart the App

  • Download necessary Plugins back to your App and you can continue using it