Skip to content Skip to sidebar Skip to footer

React Native, Why Is React-native Run-android Not Working?

I'm trying to run command react-native run-android but it's throwing an error. I'm following docs I followed every step but it's not working, I think it's not picking the path but

Solution 1:

Do these.

  1. Make sure JDK version is 8 or newer.
  2. Make sure android path's are correctly set.
  3. Remove android/build and android/app/build folders.

Edit: If JDK version is 14 and and gradle version is less than 6.3 You have to either downgrade JDK to 11 or upgrade gradle to above 6.3


Solution 2:


Post a Comment for "React Native, Why Is React-native Run-android Not Working?"