Asked
Active
Viewed 87 times
-3
-
Check This : https://stackoverflow.com/questions/69425829/unsupported-class-file-major-version-61-error – Yashraj Mar 17 '22 at 05:54
2 Answers
0

MYOUSUFFS
- 31
- 3
-
go to flutter\demo\flutter_application_1\android\build.gradle and change classpath 'com.android.tools.build:gradle:4.1.0' to classpath 'com.android.tools.build:gradle:7.1.1' – MYOUSUFFS Mar 17 '22 at 07:54
-
As it’s currently written, your answer is unclear. Please [edit] to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Mar 17 '22 at 09:55
0
Flutter on vscode without android studio
- all flutter doctor (✔) click
- and install java sdk 17+
- gradle latest version install (ex.distributionUrl=https://services.gradle.org/distributions/gradle-7.4.1-all.zip)
- and gradle latest version plugin (https://developer.android.com/studio/releases/gradle-plugin#updating-gradle) change classpath 7.1.1 (go to your (flutter_project_folder)\android\build.gradle and change classpath 'com.android.tools.build:gradle:4.1.0' to classpath 'com.android.tools.build:gradle:7.1.1'
- finally try to run

MYOUSUFFS
- 31
- 3