• Android
  • Target file "lib\main.dart" not found. error

Hi I am getting erorr when building apk

I am using command below
flutter build apk

but actually file is in there I have the file in lib\ folder

I made restart and invalidate cache. But error stil persist

  • Flutter replied to this.
    • I created a new project with new files. And error is gone.

    4 days later

    ![

    No storage.dart is under services.
    main.dart is in lib folder.
    I created a new project with same files and error is gone.

    7 days later

    I created a new project with new files. And error is gone.

    Write a Reply...