1

Adnroid Build failed with below errors:

 Task :react-native-code-push:compileDebugJavaWithJavac FAILED
    
 Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

React-native version - 0.67.2

react-native-code-push - 7.0.4

Nensi Kasundra
  • 1,980
  • 6
  • 21
  • 34

1 Answers1

1

This error can be resolved by updating JDK version to 11, or for my case 18.

Source: https://github.com/microsoft/react-native-code-push/issues/2184

Just a note for M1 mac, I follow this tutorial to get set up https://www.youtube.com/watch?v=Kq3ppMu2iuk

Dylan w
  • 2,565
  • 1
  • 18
  • 30