skip to Main Content

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

3

Answers


  1. 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

    Login or Signup to reply.
  2. 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.

    Login or Signup to reply.
  3. 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

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search