Reputation: 156
When Run my flutter app with Released mode. App Run on my emulator but give me error after running application. But Why give this error i don't understand now. Please help me to identify the issue like what happening
I am using Java JDK : 17 also select Android Studio project structure to JDK path from my local computer path. I also adding screenshot of the error. Please help me to find out the exact problem.
Upvotes: 0
Views: 278
Reputation: 495
java.lang.UnsupportedClassVersionError
Looks like there is an incompatibility issue between your Java code and the Java Runtime Environment (JRE).
Use Android Studio to configure your Flutter project to use an older Java version.
Open project in Android Studio.
Upvotes: 1