steps Done:
installed:
-
List item
“@zoom1234/react-native-videosdk”: “^1.2.0”,
copied mobilertc inside Android Folder
in griddle FolderpackagingOptions {
pickFirst ‘**/*.so’
}implementation project(‘:mobilertc’)
in settings.gradle:
include ‘:mobilertc’
When i try to run the video SDK react Native App getting following error
error Failed to install the app. Make sure you have the Android development environment set up: Setting up the development environment · React Native.
Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081
warn Package rn-fetch-blob contains invalid configuration: “dependency.hooks” is not allowed. Please verify it’s properly linked using “react-native config” command and contact the package maintainers about this.
node_modules/@zoom1234/react-native-videosdk/android/src/main/java/com/reactnativezoomvideosdk/RNZoomVideoSdkModule.java:53: error: RNZoomVideoSdkModule is not abstract and does not override abstract method onLiveTranscriptionMsgError(ILiveTranscriptionLanguage,ILiveTranscriptionLanguage) in ZoomVideoSDKDelegate
public class RNZoomVideoSdkModule extends ReactContextBaseJavaModule implements ZoomVideoSDKDelegate, LifecycleEventListener {
^
node_modules/@zoom1234/react-native-videosdk/android/src/main/java/com/reactnativezoomvideosdk/convert/RNZoomVideoSDKErrors.java:67: error: cannot find symbol
put(ZoomVideoSDKErrors.Errors_Meeting_Share_Error, “ZoomVideoSDKError_meeting_Share_Error”);
^
symbol: variable Errors_Meeting_Share_Error
location: interface ZoomVideoSDKErrors
node_modules/@zoom1234/react-native-videosdk/android/src/main/java/com/reactnativezoomvideosdk/convert/RNZoomVideoSDKErrors.java:68: error: cannot find symbol
put(ZoomVideoSDKErrors.Errors_Meeting_Share_Module_Not_Ready, “ZoomVideoSDKError_meeting_Share_Module_Not_Ready”);
^
symbol: variable Errors_Meeting_Share_Module_Not_Ready
location: interface ZoomVideoSDKErrors
node_modules/@zoom1234/react-native-videosdk/android/src/main/java/com/reactnativezoomvideosdk/convert/RNZoomVideoSDKErrors.java:69: error: cannot find symbol
put(ZoomVideoSDKErrors.Errors_Meeting_Share_You_Are_Not_Sharing, “ZoomVideoSDKError_meeting_Share_You_Are_Not_Sharing”);
^
symbol: variable Errors_Meeting_Share_You_Are_Not_Sharing
location: interface ZoomVideoSDKErrors
node_modules/@zoom1234/react-native-videosdk/android/src/main/java/com/reactnativezoomvideosdk/convert/RNZoomVideoSDKErrors.java:70: error: cannot find symbol
put(ZoomVideoSDKErrors.Errors_Meeting_Share_Type_Is_Not_Support, “ZoomVideoSDKError_meeting_Share_Type_Is_Not_Support”);
^
symbol: variable Errors_Meeting_Share_Type_Is_Not_Support
location: interface ZoomVideoSDKErrors
node_modules/@zoom1234/react-native-videosdk/android/src/main/java/com/reactnativezoomvideosdk/convert/RNZoomVideoSDKErrors.java:71: error: cannot find symbol
put(ZoomVideoSDKErrors.Errors_Meeting_Share_Internal_Error, “ZoomVideoSDKError_meeting_Share_Internal_Error”);
^
symbol: variable Errors_Meeting_Share_Internal_Error
location: interface ZoomVideoSDKErrors
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
6 errors
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ‘:zoom_react-native-videosdk:compileDebugJavaWithJavac’.
Compilation failed; see the compiler error output for details.
- Try:
Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
- Get more help at https://help.gradle.org
BUILD FAILED in 4m 22s
at makeError (<projectPath>node_modules/execa/index.js:174:9)
at <projectPath>node_modules/execa/index.js:278:16
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async runOnAllDevices (<projectPath>node_modules/@react-native-community/cli-platform-android/build/commands/runAndroid/runOnAllDevices.js:109:5)
at async Command.handleAction (<projectPath>node_modules/react-native/node_modules/@react-native-community/cli/build/index.js:192:9)
info Run CLI with --verbose flag for more details.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! HealthScore@0.0.1 android: react-native run-android
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the HealthScore@0.0.1 android script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/lokesh/.npm/_logs/2022-09-08T10_56_30_163Z-debug.log