cristian-rita / react-native-webrtc-example

24 stars 12 forks source link

after install app crashed #1

Open raghsahu opened 2 years ago

raghsahu commented 2 years ago

2022-06-07 12:58:27.184 32600-32600/? E/libc: Access denied finding property "persist.vendor.sys.activitylog" 2022-06-07 12:58:28.343 32600-32648/com.rnchatdemo E/OpenGLRenderer: Device claims wide gamut support, cannot find matching config, error = EGL_SUCCESS 2022-06-07 12:58:28.387 32600-32648/com.rnchatdemo E/ion: ioctl c0044901 failed with code -1: Invalid argument 2022-06-07 12:58:28.651 32600-32665/com.rnchatdemo E/AndroidRuntime: FATAL EXCEPTION: create_react_context Process: com.rnchatdemo, PID: 32600 java.lang.NoSuchMethodError: No static method createEgl14([I)Lorg/webrtc/EglBase14; in class Lorg/webrtc/EglBase; or its super classes (declaration of 'org.webrtc.EglBase' appears in /data/app/com.rnchatdemo-gtIeibu8hrxr9hMwLOwGGA==/base.apk!classes6.dex) at com.oney.WebRTCModule.EglUtils.getRootEglBase(EglUtils.java:35) at com.oney.WebRTCModule.EglUtils.getRootEglBaseContext(EglUtils.java:62) at com.oney.WebRTCModule.WebRTCModule.(WebRTCModule.java:107) at com.oney.WebRTCModule.WebRTCModule.(WebRTCModule.java:76) at com.oney.WebRTCModule.WebRTCModulePackage.createNativeModules(WebRTCModulePackage.java:15) at com.facebook.react.ReactPackageHelper.getNativeModuleIterator(ReactPackageHelper.java:42) at com.facebook.react.NativeModuleRegistryBuilder.processPackage(NativeModuleRegistryBuilder.java:42) at com.facebook.react.ReactInstanceManager.processPackage(ReactInstanceManager.java:1462) at com.facebook.react.ReactInstanceManager.processPackages(ReactInstanceManager.java:1433) at com.facebook.react.ReactInstanceManager.createReactContext(ReactInstanceManager.java:1327) at com.facebook.react.ReactInstanceManager.access$1200(ReactInstanceManager.java:138) at com.facebook.react.ReactInstanceManager$5.run(ReactInstanceManager.java:1104) at java.lang.Thread.run(Thread.java:764)

arahisman commented 1 year ago

Hey! You need to set minsdkversion to 24 or higher in android/build.gradle