79072903

Date: 2024-10-10 06:04:44
Score: 1
Natty:
Report link

The issue appears to be related to the version and/or configuration of Java in use. Ensure Java 11 is installed and configure JAVA_HOME to point to its location. To use an embedded JDK with Android Studio, it can be changed under File > Project Structure > SDK Location. Try cleaning Gradle by running flutter clean, and deleting the .gradle folder. The gradle-wrapper.properties can be replaced with a compatible gradle version by uncommenting and altering the line below. Do a fresh install of Android SDK Platform 34 using Android Studio and recreate the Android emulator if necessary. This should fix it.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: sagor samadder