Hello,
I have an app that uses Websocket Lib 2.11 and I am having a very large number of ANRs.
I'm calling ws.connect(URL) from starter service module. Could be this the problem?
See my ANR log:
I have an app that uses Websocket Lib 2.11 and I am having a very large number of ANRs.
I'm calling ws.connect(URL) from starter service module. Could be this the problem?
See my ANR log:
B4X:
#00 pc 0000000000086b8c /apex/com.android.runtime/lib64/bionic/libc.so (syscall+28)
#00 pc 00000000001af92c /apex/com.android.art/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+148)
#00 pc 000000000039ffbc /apex/com.android.art/lib64/libart.so (art::JNI<false>::CallObjectMethodV(_JNIEnv*, _jobject*, _jmethodID*, std::__va_list)+504)
#00 pc 0000000000004040 /apex/com.android.art/lib64/libnativehelper.so (_JNIEnv::CallObjectMethod(_jobject*, _jmethodID*, ...)+124)
#00 pc 00000000000ead04 /system/lib64/libandroid_runtime.so (android::NativeDisplayEventReceiver::dispatchVsync(long, unsigned long, unsigned int)+48)
#00 pc 000000000008d97c /system/lib64/libgui.so (android::DisplayEventDispatcher::handleEvent(int, int, void*)+160)
#00 pc 0000000000019da8 /system/lib64/libutils.so (android::Looper::pollInner(int)+916)
#00 pc 00000000000199ac /system/lib64/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+112)
#00 pc 0000000000115e68 /system/lib64/libandroid_runtime.so (android::android_os_MessageQueue_nativePollOnce(_JNIEnv*, _jobject*, long, int)+44)
at android.os.MessageQueue.nativePollOnce (Native method)
at android.os.MessageQueue.next (MessageQueue.java:335)
at android.os.Looper.loop (Looper.java:193)
at android.app.ActivityThread.main (ActivityThread.java:8047)
at java.lang.reflect.Method.invoke (Native method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:600)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:967)