mobile CCTV,mobile surveillance,police body worn cameras

 forgetPW
 registerNow
search
view: 1384|reply: 0
打印 prevThread nextThread

android sdk demo打开其他设备视频异常

[copyURL]
回帖奖励 5 金钱 回复本帖可获得 5 金钱奖励! 每人限 1 次

25

主题

58

帖子

231

积分

midMem

Rank: 3Rank: 3

积分
231
jumpTo
owner
poston 2023-4-24 14:55 | authorOnly 回帖奖励 |倒序浏览 |阅读模式
从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

reply

使用道具 report

creditRule

QQ|wireless surveillance

GMT+8, 2024-12-22 15:32 , Processed in 0.051760 second(s), 22 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

QuickReply backToTop BackToList