Thanks so much for filing an issue or feature request! Please fill out the following (wherever relevant):
Steps to Reproduce
- Change compileSdkVersion to 31 in build.gradle
react-native run-android
Expected Behavior
No error during build
Actual Behavior
Following error during build :
What actually happens?
Execution failed for task ':react-native-code-push:compileDebugJavaWithJavac'.
Environment
- react-native-code-push version: 7.0.4
- react-native version: 0.66.3
- Does this reproduce on a debug build or release build? both
- Does this reproduce on a simulator, or only on a physical device? both
This issue can be fixed by updating jdk version to 11
@karim-mohammed – i followed this tutorial