# Not able to run React native app using Video SDK

**URL:** <https://devforum.zoom.us/t/not-able-to-run-react-native-app-using-video-sdk/75665>\
**Category:** Video SDK\
**Tags:** video-sdk\
**Created:** [September 9, 2022, 5:14am UTC](https://devforum.zoom.us/t/not-able-to-run-react-native-app-using-video-sdk/75665 "2022-09-09T05:14:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![lokesh.m](https://avatars.discourse-cdn.com/v4/letter/l/3d9bf3/32.png) [@lokesh.m](https://devforum.zoom.us/u/lokesh.m)\
**Post date:** [September 9, 2022, 5:14am UTC](https://devforum.zoom.us/t/not-able-to-run-react-native-app-using-video-sdk/75665/1 "2022-09-09T05:14:30Z")

</div>

steps Done:  
installed:

- List item  
“@zoom1234/react-native-videosdk”: “^1.2.0”,  
copied mobilertc inside Android Folder  
in griddle Folder

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](https://reactnative.dev/docs/environment-setup).  
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](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

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [September 9, 2022, 10:46pm UTC](https://devforum.zoom.us/t/not-able-to-run-react-native-app-using-video-sdk/75665/2 "2022-09-09T22:46:14Z")

</div>

Hi @lokesh.m ,

You’re using the [React Native sample app](https://marketplace.zoom.us/docs/sdk/video/react-native/quickstart/) and this thread here is helpful for trouble shooting for Android:

> [@React Native Video SDK compatibility with Android / iOS Video SDKs](https://devforum.zoom.us/t/react-native-video-sdk-compatibility-with-android-ios-video-sdks/69174/2):
>
> Hi @muellseb, Generally we suggest ensuring that your React Native wrapper and Android/iOS SDK versions are on the same major and minor version (e.g. 1.2.3 Android SDK pairs with 1.2.0 React Native). We do update the React Native wrapper with each minor version bump, but it tends to lag behind by a few weeks. You can absolutely manually update the React Native wrapper locally as you’ve mentioned, but keep in mind that doing so may make it difficult for us to provide support if you are no longe…

Specifically, the dev highlights correctly to run ‘yarn’ in the ‘example’ folder [of the sample app](https://github.com/zoom/react-native-zoom-video-sdk) as well to have all the required node modules.

Let me know if that helps!

---

<div class="post-metadata">

**Author:** ![thehealingcenter](https://avatars.discourse-cdn.com/v4/letter/t/c0e974/32.png) [@thehealingcenter](https://devforum.zoom.us/u/thehealingcenter)\
**Post date:** [September 2, 2022, 9:20am UTC](https://devforum.zoom.us/t/not-able-to-run-react-native-app-using-video-sdk/75665/3 "2022-09-02T09:20:00Z")

</div>

Hello, I am working on integrating zoom with a react native application, i follow all the steps available in this link [here](https://marketplace.zoom.us/docs/sdk/video/react-native/getting-started/#ios), but i am facing an issue while building the app on android.

Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081  
/home/devpixel/Desktop/pixel38/healing-center-mobile/node\_modules/@zoom/react-native-videosdk/android/src/main/java/com/reactnativezoomvideosdk/RNZoomVideoSdkModule.java:54: error: RNZoomVideoSdkModule is not abstract and does not override abstract method onLiveTranscriptionMsgError(ILiveTranscriptionLanguage,ILiveTranscriptionLanguage) in ZoomVideoSDKDelegate  
public class RNZoomVideoSdkModule extends ReactContextBaseJavaModule implements ZoomVideoSDKDelegate, LifecycleEventListener {  
^  
Note: Some input files use or override a deprecated API.  
Note: Recompile with -Xlint:deprecation for details.  
1 error

> More Info  
> i added the mobilertc file in android file  
> i made all the changes required in settings.gradle and in app build.gradle

> settings.gradle code

```auto
apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings)
include ':app'
includeBuild('../node_modules/react-native-gradle-plugin')
include ':react-native-video'
project(':react-native-video').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-video/android-exoplayer')
include ':mobilertc'
include ':sample'
if (settings.hasProperty("newArchEnabled") && settings.newArchEnabled == "true") {
    include(":ReactAndroid")
    project(":ReactAndroid").projectDir = file('../node_modules/react-native/ReactAndroid')
    include ':react-native-secure-key-store'
    project(':react-native-secure-key-store').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-secure-key-store/android')
}

```

> app build,gradle dependecies

```auto
 implementation project(':react-native-secure-key-store')
    implementation project(':react-native-video')
    implementation "androidx.appcompat:appcompat:1.0.0"
    implementation project(':mobilertc')
    implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
    implementation 'androidx.recyclerview:recyclerview:1.0.0'
    implementation 'androidx.legacy:legacy-support-v4:1.0.0'
    implementation 'com.github.chrisbanes:PhotoView:2.3.0'
    implementation 'androidx.security:security-crypto:1.1.0-alpha02'
    implementation 'com.google.crypto.tink:tink-android:1.5.0'

```

and also i add this code part in app build.gradle

```auto
  packagingOptions {
        pickFirst '**/*.so'
    }

```

please any help?

---

<div class="post-metadata">

**Author:** ![shariq.torres](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/shariq.torres/32/39899_2.png) [@shariq.torres](https://devforum.zoom.us/u/shariq.torres)\
**Post date:** [September 15, 2022, 3:58pm UTC](https://devforum.zoom.us/t/not-able-to-run-react-native-app-using-video-sdk/75665/4 "2022-09-15T15:58:01Z")

</div>

I moved your post so that it was in the correct category and so that you could see the solution provided by someone else who was having similar issues.

> [@Not able to run React native app using Video SDK](https://devforum.zoom.us/t/not-able-to-run-react-native-app-using-video-sdk/75665/2):
>
> Hi @lokesh.m , You’re using the [React Native sample app](https://marketplace.zoom.us/docs/sdk/video/react-native/quickstart/) and this thread here is helpful for trouble shooting for Android: Specifically, the dev highlights correctly to run ‘yarn’ in the ‘example’ folder [of the sample app](https://github.com/zoom/react-native-zoom-video-sdk) as well to have all the required node modules. Let me know if that helps!
