Execution failed for task ':react-native-code-push:generateDebugRFile'.
Thanks so much for filing an issue or feature request! Please fill out the following (wherever relevant):
Steps to Reproduce
1. 2. 3.
Expected Behavior
react-native run-android
Actual Behavior
Execution failed for task ':react-native-code-push:generateDebugRFile'.
Could not resolve all files for configuration ':react-native-code-push:debugCompileClasspath'. Could not resolve net.minidev:json-smart:[1.3.1,2.3]. Required by: project :react-native-code-push > com.nimbusds:nimbus-jose-jwt:5.1 > Failed to list versions for net.minidev:json-smart. > Unable to load Maven meta-data from https://jcenter.bintray.com/net/minidev/json-smart/maven-metadata.xml. > Could not HEAD 'https://jcenter.bintray.com/net/minidev/json-smart/maven-metadata.xml'. > org.apache.http.client.ClientProtocolException (no error message)
Reproducible Demo
Environment
- react-native-code-push version:
- react-native version:
- iOS/Android/Windows version:
- Does this reproduce on a debug build or release build?
- Does this reproduce on a simulator, or only on a physical device?
(The more info the faster we will be able to address it!)
I followed some of the suggestions here and while they helped to get the build to complete I eventually ran into app crashes when the app attempted to apply updates published through CodePush. After some additional search I stumbled upon a suggestion to downgrade com.google.gms:google-services from 4.2.0 to 4.1.0. That created a different problem and eventually I decided to upgrade it to 4.3.10 since I saw that version in other documentation and now everything works 👍🏻 I hope this helps someone.

<img width="480" alt="Screenshot 2022-05-15 at 6 18 02 PM" src="https://user-images.githubusercontent.com/47115026/168473685-cf649a4d-9e9f-427
3-84ea-6086baa8ba99.png">

I tried with multiple solution mentioned above but . getting error 👎 startup failed: General error during semantic analysis: Unsupported class file major version 62
java.lang.IllegalArgumentException: Unsupported class file major version 62
at groovyjarjarasm.asm.ClassReader.
This issue has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs within 15 days of this comment.
This issue will now be closed because it hasn't had any activity for 15 days after stale. Please feel free to open a new issue if you still have a question/issue or suggestion.