datso / react-native-pjsip

A PJSIP module for React Native.
http://datso.github.io/react-native-pjsip
GNU General Public License v3.0
273 stars 233 forks source link

Android crash #11

Closed iclems closed 6 years ago

iclems commented 7 years ago

03-06 19:01:44.191 E/PjSipService( 3370): Error while loading OpenH264 native library 03-06 19:01:44.191 E/PjSipService( 3370): java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/.../lib/x86/libopenh264.so: has text relocations 03-06 19:01:44.191 E/PjSipService( 3370): at java.lang.Runtime.loadLibrary(Runtime.java:372) 03-06 19:01:44.191 E/PjSipService( 3370): at java.lang.System.loadLibrary(System.java:1076) 03-06 19:01:44.191 E/PjSipService( 3370): at com.carusto.ReactNativePjSip.PjSipService.load(PjSipService.java:157) 03-06 19:01:44.191 E/PjSipService( 3370): at com.carusto.ReactNativePjSip.PjSipService.access$000(PjSipService.java:36) 03-06 19:01:44.191 E/PjSipService( 3370): at com.carusto.ReactNativePjSip.PjSipService$1.run(PjSipService.java:149) 03-06 19:01:44.191 E/PjSipService( 3370): at android.os.Handler.handleCallback(Handler.java:739) 03-06 19:01:44.191 E/PjSipService( 3370): at android.os.Handler.dispatchMessage(Handler.java:95) 03-06 19:01:44.191 E/PjSipService( 3370): at android.os.Looper.loop(Looper.java:148) 03-06 19:01:44.191 E/PjSipService( 3370): at android.os.HandlerThread.run(HandlerThread.java:61)

iclems commented 7 years ago

This is an issue that occurred with other projects as well. e.g. https://github.com/wseemann/FFmpegMediaPlayer/issues/64

The temporary solution is that the target SDK cannot be > 22.

datso commented 7 years ago

How can I reproduce it ?

iclems commented 7 years ago

Set target SDK to anything > 22 and try to run the app. It will crash at launch.

rcorrie commented 6 years ago

I am seeing this error as well. On SDK 23

nikhildaga commented 6 years ago

We are facing it as well. This is the error

screenshot_1515450118

datso commented 6 years ago

Fixed in 2.7.1

mehdinourollah commented 3 years ago

No it's not fixed ! I'm using version 2.8 but getting this error still... image