when run command 'flutter run' I got error message
when run command 'code .' it is run fine with vs code for android but not ios device
i can not downgrade to Xcode 15 because Sequoia does not support
Actual results
The configured version of Java detected may conflict with the Gradle version in your new Flutter app.
[RECOMMENDED] If so, to keep the default Gradle version 8.3, make
sure to download a compatible Java version
(Java 17 <= compatible Java version < Java 21).
You may configure this compatible Java version by running:
`flutter config --jdk-dir=<JDK_DIRECTORY>`
Note that this is a global configuration for Flutter.
Alternatively, to continue using your configured Java version, update the Gradle
version specified in the following file to a compatible Gradle version
(compatible Gradle version range: 8.4 - 8.7):
/Users/tedkhieu/Desktop/flutter_p2024/coffee_card/android/gradle/wrapper/gradle-
wrapper.propertiesYou may also update the Gradle version used by running
`./gradlew wrapper --gradle-version=<COMPATIBLE_GRADLE_VERSION>`
Logs
The configured version of Java detected may conflict with the Gradle version in your new Flutter app.
[RECOMMENDED] If so, to keep the default Gradle version 8.3, make
sure to download a compatible Java version
(Java 17 <= compatible Java version < Java 21).
You may configure this compatible Java version by running:
`flutter config --jdk-dir=<JDK_DIRECTORY>`
Note that this is a global configuration for Flutter.
Alternatively, to continue using your configured Java version, update the Gradle
version specified in the following file to a compatible Gradle version
(compatible Gradle version range: 8.4 - 8.7):
/Users/tedkhieu/Desktop/flutter_p2024/coffee_card/android/gradle/wrapper/gradle-
wrapper.propertiesYou may also update the Gradle version used by running
`./gradlew wrapper --gradle-version=<COMPATIBLE_GRADLE_VERSION>`
@tedkhieu
Can you elaborate when you say conflicting issues ?
Also, based on the log you are getting, did you follow the message in it to see if that helps to resolve it ?
Steps to reproduce
Actual results
Logs
Flutter Doctor output
flutter doctor is all good with green check