-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
FAILURE: Build failed with an exception. #15552
Comments
Hey, thanks for reporting this issue! It looks like your description is missing some necessary information, or the list of reproduction steps is not complete. Can you please add all the details specified in the template? This is necessary for people to be able to understand and reproduce the issue being reported. I am going to close this, but feel free to open a new issue with the additional information provided. Thanks! |
@hramos im having the exact same issue as @marcusmann. 1: react-native init ReactNativeProject |
Switching from JDK9 to JDK8 (Windows 10 x64, gradle 2.14.1 ) solved the issue for me. |
@vbarinov I've done that, but it has not made any difference. |
@orinmurphy did you able to solve this? i am also facing the exact same issue, JDK9 installed |
@amjadkhan120 yes I just solved this issue. I had two versions of Java installed, so i removed JDK9 and that fixed the issue for me. Now I am just using JDK8 |
I also had two JDK versions installed (8 & 9), I removed 9 and everything started working. To uninstall:
If you do not have version 8 in that directory you will need to install JDK8. |
Thanks @orinmurphy @azamatsmith, its JDK9 which is causing the issue, Now its working fine after installing JDK8. |
Thanks ! I was having this issue as well |
@vbarinov Solution fixed my issue, now is working perfectly.. 👍 |
After deleted jdk-9 will be ok, but why RN can't support jdk-9? |
+1 for removing JDK9 |
Removing jdk9 is the solution for me |
No need to remove JDK9, just update your JAVA_HOME and PATH variable to point to JDK8. To switch between versions, just change the priority order in Path environment variable. |
It's a generic Android issue that has nothing to do with React Native. |
https://facebook.github.io/react-native/docs/getting-started.html says "Download and install JDK 8 or newer". It should probably be explicit that only "JDK 8" will work. |
yeah, some technical writer got into wishful thinking |
@bjornua yeah, surprised this hasn't been changed, this issue has been around for a while... |
Please support JDK 9/10. |
Same issue, please support JDK 10. |
Facing same issue with JDK 10. Please add support for JDK 10 and update the doc too. |
facing the same issue here, please support JDK 9 please. |
Same issue. JDK 10. |
FAILURE: Build failed with an exception.
A problem occurred configuring project ':app'.
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Follow step by step tutorial react native
The text was updated successfully, but these errors were encountered: