Hello everyone!
In this tutorial I'm going to show you how to fix the error in Flutter:
Build Failed
Execution failed for task' : package_info_plus:compileDebugJavaWithJavac'.
Error: Invalid source release: 17
Steps:
1) Install the Java Development Kit (JDK) 17 version and set the environment variable and JAVA_HOME variable
2) Set the compilation Java version for your Flutter project
3) Add Java Home Variable path inside your gradle.properties file inside the Android folder
4) Reload and Run the Project
Comment below if you faced for any other issue or special tutorial request.
Thank you!
#flutterexplained #flutterflow #flutter #android #appdevelopment #mobileapp #flutterwidgets #fluttertutorials #error #execution #application