Flutter run is working from terminal, but error from VSCode (F5)
Because I don't completely know what project or process you are working on, I simply checked the error.
The commands flutter clean
, flutter upgrade
may help. Seems like it is related to JDK17. You can look at this:enter link description herefor more information, there are all kinds of situation.
Nana Sutrisna
Updated on January 04, 2023Comments
-
Nana Sutrisna over 1 year
Flutter run is working from terminal, but error from VSCode (F5), error message :
What went wrong: A problem occurred evaluating project ':app'. Could not get unknown property 'compileSdkVersion' for extension 'flutter' of type >FlutterExtension.
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to >get more log output. Run with --scan to get full insights.
Any suggestions how to validate my application? What can case such a problem?
Thank you
-
under about 2 yearsI'm getting the same problem. Ran gradlew clean build, flutter clean, flutter doctor. I'm using these versions: flutter 2.10.3 andoid api 31 kotlin 1.5.31 gradle 7.4.1
-
-
1y0una about 2 yearsDid this command work? Are there any updates?