收藏官网首页

Android 集成最新sdk后偶现闪退

查看数: 23752 | 评论数: 4 | 收藏 0
关灯 | 提示:支持键盘翻页<-左 右->
    组图打开中,请稍候......
发布时间: 2016-10-26 16:44

正文摘要:

1,当app在无操作时偶现闪退2,log日志如图所示:

回复

小铲子 发表于 2016-11-3 15:17:30
空指针界面没有判空处理?
Genius 发表于 2016-10-27 17:30:28
kuxia 发表于 2016-10-27 10:07
app在切换网络后闪退!该如何解决呢!一筹莫展的么么哒!
错误日志如下:
10-27 10:04:17.677: E/GizSDKCli ...

请注意修改数据点!
APP的数据点和MCU的数据点需保持一致哦。

要是不一致,容易引起闪退
kuxia 发表于 2016-10-27 10:07:37
app在切换网络后闪退!该如何解决呢!一筹莫展的么么哒!
错误日志如下:
10-27 10:04:17.677: E/GizSDKClientLog(24677): [SYS][ERROR][2016-10-27 10:04:17.684][Utils.java:720 openUrl][java.io.FileNotFoundException: https://m.baidu.com/error.jsp?tr ... 2735508214322736355]
10-27 10:04:19.817: E/GizSDKClientLog(25356): [SYS][ERROR][2016-10-27 10:04:19.824][MyCrashHandler.java:54 uncaughtException][捕获到一个crash..............]
10-27 10:04:19.827: E/GizSDKClientLog(25356): [SYS][ERROR][2016-10-27 10:04:19.837][MyCrashHandler.java:57 uncaughtException][捕获的错误信息java.lang.RuntimeException: Unable to start activity ComponentInfo{com.jzdc.wifipower/com.jzdc.wifipower.framwork.activity.device.DeviceListActivity}: java.lang.NullPointerException]
10-27 10:04:19.827: E/GizSDKClientLog(25356):         at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2338)
10-27 10:04:19.827: E/GizSDKClientLog(25356):         at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2388)
10-27 10:04:19.827: E/GizSDKClientLog(25356):         at android.app.ActivityThread.access$900(ActivityThread.java:148)
10-27 10:04:19.827: E/GizSDKClientLog(25356):         at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1319)
10-27 10:04:19.827: E/GizSDKClientLog(25356):         at android.os.Handler.dispatchMessage(Handler.java:99)
10-27 10:04:19.827: E/GizSDKClientLog(25356):         at android.os.Looper.loop(Looper.java:137)
10-27 10:04:19.827: E/GizSDKClientLog(25356):         at android.app.ActivityThread.main(ActivityThread.java:5457)
10-27 10:04:19.827: E/GizSDKClientLog(25356):         at java.lang.reflect.Method.invokeNative(Native Method)
10-27 10:04:19.827: E/GizSDKClientLog(25356):         at java.lang.reflect.Method.invoke(Method.java:525)
10-27 10:04:19.827: E/GizSDKClientLog(25356):         at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:854)
10-27 10:04:19.827: E/GizSDKClientLog(25356):         at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:670)
10-27 10:04:19.827: E/GizSDKClientLog(25356):         at dalvik.system.Nat
10-27 10:04:19.837: E/GizSDKClientLog(25356): [SYS][CRASH][2016-10-27 10:04:19.842][MyCrashHandler.java:59 uncaughtException][捕获的错误信息java.lang.RuntimeException: Unable to start activity ComponentInfo{com.jzdc.wifipower/com.jzdc.wifipower.framwork.activity.device.DeviceListActivity}: java.lang.NullPointerException]
10-27 10:04:19.837: E/GizSDKClientLog(25356):         at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2338)
10-27 10:04:19.837: E/GizSDKClientLog(25356):         at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2388)
10-27 10:04:19.837: E/GizSDKClientLog(25356):         at android.app.ActivityThread.access$900(ActivityThread.java:148)
10-27 10:04:19.837: E/GizSDKClientLog(25356):         at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1319)
10-27 10:04:19.837: E/GizSDKClientLog(25356):         at android.os.Handler.dispatchMessage(Handler.java:99)
10-27 10:04:19.837: E/GizSDKClientLog(25356):         at android.os.Looper.loop(Looper.java:137)
10-27 10:04:19.837: E/GizSDKClientLog(25356):         at android.app.ActivityThread.main(ActivityThread.java:5457)
10-27 10:04:19.837: E/GizSDKClientLog(25356):         at java.lang.reflect.Method.invokeNative(Native Method)
10-27 10:04:19.837: E/GizSDKClientLog(25356):         at java.lang.reflect.Method.invoke(Method.java:525)
10-27 10:04:19.837: E/GizSDKClientLog(25356):         at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:854)
10-27 10:04:19.837: E/GizSDKClientLog(25356):         at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:670)
10-27 10:04:19.837: E/GizSDKClientLog(25356):         at dalvik.system.Nat
10-27 10:04:19.847: E/GizSDKClientLog(25356): [SYS][ERROR][2016-10-27 10:04:19.859][MyCrashHandler.java:61 uncaughtException][main]
10-27 10:04:19.847: E/GizSDKClientLog(25356): [SYS][CRASH][2016-10-27 10:04:19.859][MyCrashHandler.java:164 handleException][Unable to start activity ComponentInfo{com.jzdc.wifipower/com.jzdc.wifipower.framwork.activity.device.DeviceListActivity}: java.lang.NullPointerException]


Gemini 发表于 2016-10-26 17:37:45
你看看数据点是否有同步到设备
加入Q群 返回顶部

版权与免责声明 © 2006-2024 Gizwits IoT Technology Co., Ltd. ( 粤ICP备11090211号 )

快速回复 返回顶部 返回列表