android gradle plugin requires java 17 to run. you are currently using java 11 in React Native Issue
Ғылым және технология
#reactnative #java17 #java11 #androidgradle
In this video I have shown how we can fix "android gradle plugin requires java 17 to run. you are currently using java 11" in React Native. By installing JDK 17 and replacing it with JDK 11
Пікірлер: 16
You are awesome you greatly cover realistic issue great work
you will be using android studio or visual studio for coding?
bro you are legend !!!
thanks so much
thanks a million
after resolving this issues another issues is raises in my windows related to the emulator(not starting )
@thedebugarena
3 ай бұрын
One thing you can do is that open emulator by your own and then try to run the application
@jigneshsharma6122
3 ай бұрын
@@thedebugarena when i try to do this i am getting this error message in android studio : Unable to launch pixel XL API 33 - The Emulator process for AVD pixel_xl_api_33 has terminated
@thedebugarena
3 ай бұрын
@@jigneshsharma6122 might be problem with your emulator try deleting existing one and creating new one based on your laptop it might take time. If this still not works you can use your real device instead of emulator which is quite easy kzread.info/dash/bejne/h5Ogq7hqoqi8Z7Q.html
thanks bro
still getting same error didnt solve issue , can you please help me?
@thedebugarena
2 ай бұрын
Dm me on instagram @the_debug_arena and share error you are getting
if anyone gets this familiar error while rebuilding gradle FAILURE: Build failed with an exception. * What went wrong: Value 'C:Program FilesJavajdk-17' given for org.gradle.java.home Gradle property is invalid (Java home supplied is invalid) wrote org.gradle.java.home=C:\Program Files\Java\jdk-17 in my gradle.properties then write the command written below in gradle.properties org.gradle.java.home=C:\Program Files\Java\jdk-17
@thedebugarena
4 ай бұрын
You can use double \\ eg: C:\\programfiles\\ it should solve the issue
@johnlucifer3889
4 ай бұрын
@@thedebugarena for me \ instead of / solved the issue and uisng double \\ doenst solve it.