mobile CCTV,mobile surveillance,police body worn cameras

标题: android sdk demo打开其他设备视频异常 [打印本页]

author: huixing    time: 2023-4-24 14:55
标题: android sdk demo打开其他设备视频异常
从gitee上下载的android sdk demo登录后打开其他设备视频异常

E/AndroidRuntime: FATAL EXCEPTION: JNIMessageTransport
    Process: com.example.myapplication1, PID: 11019
    com.google.gson.JsonSyntaxException: java.lang.NumberFormatException: Expected an int but was 4294901760 at line 20 column 23
        at com.google.gson.internal.bind.TypeAdapters$7.read(TypeAdapters.java:241)
        at com.google.gson.internal.bind.TypeAdapters$7.read(TypeAdapters.java:231)
        at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:93)
        at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:172)
        at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:93)
        at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:172)
        at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:93)
        at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:172)
        at com.google.gson.Gson.fromJson(Gson.java:803)
        at com.google.gson.Gson.fromJson(Gson.java:768)
        at com.google.gson.Gson.fromJson(Gson.java:717)
        at com.google.gson.Gson.fromJson(Gson.java:689)
        at com.smarteye.sdk.SDKImpl.onMessageFromNative(SDKImpl.java:1078)
        at com.smarteye.coresdk.CoreSDK$1.handleMessage(CoreSDK.java:221)
        at android.os.Handler.dispatchMessage(Handler.java:106)
        at android.os.Looper.loop(Looper.java:219)
        at android.os.HandlerThread.run(HandlerThread.java:67)
     Caused by: java.lang.NumberFormatException: Expected an int but was 4294901760 at line 20 column 23
        at com.google.gson.stream.JsonReader.nextInt(JsonReader.java:1153)
        at com.google.gson.internal.bind.TypeAdapters$7.read(TypeAdapters.java:239)
        at com.google.gson.internal.bind.TypeAdapters$7.read(TypeAdapters.java:231)
        at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:93)
        at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:172)
        at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:93)
        at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:172)
        at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:93)
        at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:172)
        at com.google.gson.Gson.fromJson(Gson.java:803)
        at com.google.gson.Gson.fromJson(Gson.java:768)
        at com.google.gson.Gson.fromJson(Gson.java:717)
        at com.google.gson.Gson.fromJson(Gson.java:689)
        at com.smarteye.sdk.SDKImpl.onMessageFromNative(SDKImpl.java:1078)
        at com.smarteye.coresdk.CoreSDK$1.handleMessage(CoreSDK.java:221)
        at android.os.Handler.dispatchMessage(Handler.java:106)
        at android.os.Looper.loop(Looper.java:219)
        at android.os.HandlerThread.run(HandlerThread.java:67)
E/RtgSchedManager: endActivityTransaction: margin state not match
E/RtgSchedManager: endActivityTransaction: margin state not match
D/ActivityThread: Won't deliver top position change in state=5
E/RtgSchedManager: endActivityTransaction: margin state not match






欢迎光临 mobile CCTV,mobile surveillance,police body worn cameras (http://bbs.besovideo.com:8067/) Powered by Discuz! X3.2