Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashes in android during the session constructor initialisation #228

Open
balaabhinav opened this issue Mar 24, 2017 · 4 comments
Open

Comments

@balaabhinav
Copy link

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?

@zengchuan
Copy link

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.

@balaabhinav
Copy link
Author

balaabhinav commented Aug 4, 2017 via email

@chetanbnaik
Copy link

try giving the permissions ACCESS_NETWORK_STATE if not already.

@zengchuan
Copy link

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.(PeerConnectionFactory.java:22)
08-19 12:53:42.964 E/AndroidRuntime(11476): at org.webrtc.PeerConnectionFactory.initializeAndroidGlobals(Native Method)
08-19 12:53:42.964 E/AndroidRuntime(11476): at com.dooble.phonertc.PhoneRTCPlugin$1.run(PhoneRTCPlugin.java:81)
08-19 12:53:42.964 E/AndroidRuntime(11476): at android.os.Handler.handleCallback(Handler.java:751)
08-19 12:53:42.964 E/AndroidRuntime(11476): at android.os.Handler.dispatchMessage(Handler.java:95)
08-19 12:53:42.964 E/AndroidRuntime(11476): at android.os.Looper.loop(Looper.java:154)
08-19 12:53:42.964 E/AndroidRuntime(11476): at android.app.ActivityThread.main(ActivityThread.java:6114)
08-19 12:53:42.964 E/AndroidRuntime(11476): at java.lang.reflect.Method.invoke(Native Method)
08-19 12:53:42.964 E/AndroidRuntime(11476): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:874)
08-19 12:53:42.964 E/AndroidRuntime(11476): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:764)
08-19 12:53:42.979 W/ActivityManager( 2030): Force finishing activity zengchuan.nancaochang.com/.MainActivity

how to resolve it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants