Crashes in android during the session constructor initialisation
Hi,
My android phones (moto x2, xiomi mi3, OnePlus) all of them crash when in the line making a call to the session constructor. I saw that a similar issue was closed last year. I have followed the documentation and the sample ionic code to create my Ionic2 version for video calling. Could anyone help me out if I am missing something?
do you solve it? I have the same error. When new cordova.plugins.phonertc.Session(config); it crash! browser(change password to credential) is right but android is wrong.
Nope, I was not able to solve it. I just started using a third party video calling app and invoking it from my ionic app.
From: zengchuan [email protected] Sent: Friday, August 4, 2017 9:53 AM To: alongubkin/phonertc Cc: balaabhinav; Author Subject: Re: [alongubkin/phonertc] Crashes in android during the session constructor initialisation (#228)
do you solve it? I have the same error. When new cordova.plugins.phonertc.Session(config); it crash! browser(change password to credential) is right but android is wrong.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/alongubkin/phonertc/issues/228#issuecomment-320152857, or mute the threadhttps://github.com/notifications/unsubscribe-auth/APac2BKo5NzIv9471UglOuPdzcB8Qwdyks5sUpymgaJpZM4MoMef.
try giving the permissions ACCESS_NETWORK_STATE if not already.
08-19 12:53:42.964 E/AndroidRuntime(11476): java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/zengchuan.nancaochang.com-1/base.apk"],nativeLibraryDirectories=[/data/app/zengchuan.nancaochang.com-1/lib/arm64, /system/fake-libs64, /data/app/zengchuan.nancaochang.com-1/base.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64]]] couldn't find "libjingle_peerconnection_so.so"
08-19 12:53:42.964 E/AndroidRuntime(11476): at java.lang.Runtime.loadLibrary0(Runtime.java:972)
08-19 12:53:42.964 E/AndroidRuntime(11476): at java.lang.System.loadLibrary(System.java:1530)
08-19 12:53:42.964 E/AndroidRuntime(11476): at org.webrtc.PeerConnectionFactory.
how to resolve it?