Even I have the file in lib/ folder flutter gives me error
Here is my file
C:\SRC\flutter\packages\flutter_tools>flutter run Target file "lib\main.dart" not found.
Edit:
here is my configuration
I have looked to this topic Getting error like "Target file "lib\main.dart" not found." whlie building APK in flutter
But this situation is different from mine.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.