java.lang.SecurityException: ConnectivityService: Neither user 10159 nor current process has android.permission.ACCESS_NETWORK_STATE.
06-04 17:30:28.705 13586-13922/com.dooble.phonertc.demo.app W/System.err﹕ at android.os.Parcel.readException(Parcel.java:1465)
06-04 17:30:28.705 13586-13922/com.dooble.phonertc.demo.app W/System.err﹕ at android.os.Parcel.readException(Parcel.java:1419)
06-04 17:30:28.705 13586-13922/com.dooble.phonertc.demo.app W/System.err﹕ at android.net.IConnectivityManager$Stub$Proxy.getActiveNetworkInfo(IConnectivityManager.java:1139)
06-04 17:30:28.705 13586-13922/com.dooble.phonertc.demo.app W/System.err﹕ at android.net.ConnectivityManager.getActiveNetworkInfo(ConnectivityManager.java:691)
06-04 17:30:28.705 13586-13922/com.dooble.phonertc.demo.app W/System.err﹕ at org.webrtc.NetworkMonitorAutoDetect$ConnectivityManagerDelegate.getNetworkState(NetworkMonitorAutoDetect.java:191)
06-04 17:30:28.705 13586-13922/com.dooble.phonertc.demo.app W/System.err﹕ at org.webrtc.NetworkMonitorAutoDetect.(NetworkMonitorAutoDetect.java:441)
06-04 17:30:28.705 13586-13922/com.dooble.phonertc.demo.app W/System.err﹕ at org.webrtc.NetworkMonitor.setAutoDetectConnectivityStateInternal(NetworkMonitor.java:139)
06-04 17:30:28.705 13586-13922/com.dooble.phonertc.demo.app W/System.err﹕ at org.webrtc.NetworkMonitor.startMonitoring(NetworkMonitor.java:108)
06-04 17:30:28.705 13586-13922/com.dooble.phonertc.demo.app W/System.err﹕ at dalvik.system.NativeStart.run(Native Method)
06-04 17:30:28.705 13586-13922/com.dooble.phonertc.demo.app E/rtc﹕ #
Fatal error in ../../webrtc/api/java/jni/androidnetworkmonitor_jni.cc, line 195
# Check failed: !jni()->ExceptionCheck()
# Error during CallVoidMethod
#
06-04 17:30:28.705 13586-13922/com.dooble.phonertc.demo.app A/libc﹕ Fatal signal 6 (SIGABRT) at 0x00003512 (code=-6), thread 13922 (worker_thread)
When starting a chat i got this error. I dont know why. With Android and Android 4.4.2.
When a look to AndroidManifest
java.lang.SecurityException: ConnectivityService: Neither user 10159 nor current process has android.permission.ACCESS_NETWORK_STATE. 06-04 17:30:28.705 13586-13922/com.dooble.phonertc.demo.app W/System.err﹕ at android.os.Parcel.readException(Parcel.java:1465) 06-04 17:30:28.705 13586-13922/com.dooble.phonertc.demo.app W/System.err﹕ at android.os.Parcel.readException(Parcel.java:1419) 06-04 17:30:28.705 13586-13922/com.dooble.phonertc.demo.app W/System.err﹕ at android.net.IConnectivityManager$Stub$Proxy.getActiveNetworkInfo(IConnectivityManager.java:1139) 06-04 17:30:28.705 13586-13922/com.dooble.phonertc.demo.app W/System.err﹕ at android.net.ConnectivityManager.getActiveNetworkInfo(ConnectivityManager.java:691) 06-04 17:30:28.705 13586-13922/com.dooble.phonertc.demo.app W/System.err﹕ at org.webrtc.NetworkMonitorAutoDetect$ConnectivityManagerDelegate.getNetworkState(NetworkMonitorAutoDetect.java:191) 06-04 17:30:28.705 13586-13922/com.dooble.phonertc.demo.app W/System.err﹕ at org.webrtc.NetworkMonitorAutoDetect.(NetworkMonitorAutoDetect.java:441)
06-04 17:30:28.705 13586-13922/com.dooble.phonertc.demo.app W/System.err﹕ at org.webrtc.NetworkMonitor.setAutoDetectConnectivityStateInternal(NetworkMonitor.java:139)
06-04 17:30:28.705 13586-13922/com.dooble.phonertc.demo.app W/System.err﹕ at org.webrtc.NetworkMonitor.startMonitoring(NetworkMonitor.java:108)
06-04 17:30:28.705 13586-13922/com.dooble.phonertc.demo.app W/System.err﹕ at dalvik.system.NativeStart.run(Native Method)
06-04 17:30:28.705 13586-13922/com.dooble.phonertc.demo.app E/rtc﹕ #
Fatal error in ../../webrtc/api/java/jni/androidnetworkmonitor_jni.cc, line 195
06-04 17:30:28.705 13586-13922/com.dooble.phonertc.demo.app A/libc﹕ Fatal signal 6 (SIGABRT) at 0x00003512 (code=-6), thread 13922 (worker_thread)