-
Notifications
You must be signed in to change notification settings - Fork 24.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 65 #41193
Comments
|
Java 21 is currently unsupported. The recommendation is to use JDK 11 |
I need an explanation. Tried JDK 17, Java 8, JDK 21
|
I'm having the same issue and I'm using |
Me too. If someone resolved this issue, please let me know. |
I am using grade 8.3 and jdk version 20 which is compatible stilll facing same issue |
Hello, I don't know if this is the issue, but I'm having the same issue. But for me the directory is /.gradle/caches/8.1.1. Now I'm assuming 8.1.1 would be the gradle version??? I'm using 8.7 with java 21. Could this be the issue? |
Description
I have been facing this issue for quite a few days, Earlier I was getting the same BUG with version 64. So,
Updated To
JAVA: java version "21.0.1" 2023-10-17 LTS
GRADLE: Gradle 8.4
NODE: v20.9.0
Now facing this issue.
React Native Version
0.72.6
Output of
npx react-native info
System:
OS: Windows 10 10.0.19045
CPU: (8) x64 Intel(R) Core(TM) i5-10300H CPU @ 2.50GHz
Memory: 1.35 GB / 7.84 GB
Binaries:
Node:
version: 20.9.0
path: D:\Tools\Node\nodejs\node.EXE
Yarn:
version: 1.22.19
path: ~\AppData\Roaming\npm\yarn.CMD
npm:
version: 10.0.0
path: D:\Tools\Node\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK: Not Found
Windows SDK: Not Found
IDEs:
Android Studio: AI-223.8836.35.2231.10671973
Visual Studio:
- 17.7.34031.279 (Visual Studio Community 2022)
Languages:
Java: 21.0.1
Ruby: Not Found
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native:
installed: 0.72.6
wanted: 0.72.6
react-native-windows: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: Not found
newArchEnabled: Not found
Steps to reproduce
Facing this issue after creating a new react-native-applications.
Snack, screenshot, or link to a repository
The text was updated successfully, but these errors were encountered: