I’m working on a React Native project using version 0.68.5 and trying to integrate @zoom/react-native-videosdk@2.2.0.
On iOS, everything seems to be working fine. However, on Android, I’m encountering the following error during build:
* What went wrong:
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
> Could not resolve all task dependencies for configuration ':app:debugCompileClasspath'.
> Could not find any matches for com.facebook.react:react-android:+ as no versions of com.facebook.react:react-android are available.
Required by:
project :app > project :zoom_react-native-videosdk
I don’t think this error is sourced from the Zoom package like the stack trace would make you believe. There’s a documented issue here with React Native: https://github.com/facebook/react-native/issues/35210. This appears to have been patched in 0.68.5 hotfix release. Did you update to this release recently? Can you clear and cache / build artifacts and try a fresh build. If you’re using expo, you can run npx expo prebuild.
Can you try updating to a more recent patch release to see if this is getting resolved?