kuxia 发表于 2016-11-1 15:53:57

Android 集成最新版sdk后问题汇总

1,设备入网:直连模式中的模组类型怎么得知呢?2,设备入网:热点模式连接当手机给设备分配wifi-ssid和passwrod时,还没进入接口回调,app就闪退了!
谁知道这两块的问题该如何诠释呢?谢谢

boboP 发表于 2016-11-1 16:22:56

那你添加设备。输入wifi SSID和密码的时候就可以选择模组类型了。闪退的原因有错误日志么。看看网络是否通畅。可否连上外网。用的是什么APP呢

kuxia 发表于 2016-11-2 10:16:19

本帖最后由 kuxia 于 2016-11-2 10:17 编辑

boboP 发表于 2016-11-1 16:22
那你添加设备。输入wifi SSID和密码的时候就可以选择模组类型了。闪退的原因有错误日志么。看看网络是否通 ...
你好,我们用的不是官网提供的app,是自己开发的!wifi模块是新岸线的!
我参照机智云的sdk开发文档,关于设备入网热点模式时,模块类型为null的!
GizWifiSDK.sharedInstance().setDeviceOnboarding("your_ssid", "your_key", GizWifiConfigureMode.GizWifiSoftAP, "your_gagent_hotspot_prefix", 60, null);错误日志为:
11-01 16:46:49.362: E/libEGL(26240): call to OpenGL ES API with no current context (logged once per thread)
11-01 16:47:17.074: E/GizSDKClientLog(26240): https://m.baidu.com/error.jsp?traceid=147799003702693632101835337262184231148]
11-01 16:47:17.294: E/StrictMode(26240): A resource was acquired at attached stack trace but never released. See java.io.Closeable for information on avoiding resource leaks.
11-01 16:47:17.294: E/StrictMode(26240): java.lang.Throwable: Explicit termination method 'close' not called
11-01 16:47:17.294: E/StrictMode(26240): at dalvik.system.CloseGuard.open(CloseGuard.java:184)
11-01 16:47:17.294: E/StrictMode(26240): at org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:277)
11-01 16:47:17.294: E/StrictMode(26240): at libcore.net.http.HttpConnection.setupSecureSocket(HttpConnection.java:209)
11-01 16:47:17.294: E/StrictMode(26240): at libcore.net.http.HttpsURLConnectionImpl$HttpsEngine.makeSslConnection(HttpsURLConnectionImpl.java:478)
11-01 16:47:17.294: E/StrictMode(26240): at libcore.net.http.HttpsURLConnectionImpl$HttpsEngine.connect(HttpsURLConnectionImpl.java:433)
11-01 16:47:17.294: E/StrictMode(26240): at libcore.net.http.HttpEngine.sendSocketRequest(HttpEngine.java:290)
11-01 16:47:17.294: E/StrictMode(26240): at libcore.net.http.HttpEngine.sendRequest(HttpEngine.java:240)
11-01 16:47:17.294: E/StrictMode(26240): at libcore.net.http.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:282)
11-01 16:47:17.294: E/StrictMode(26240): at libcore.net.http.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:177)
11-01 16:47:17.294: E/StrictMode(26240): at libcore.net.http.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:271)
11-01 16:47:17.294: E/StrictMode(26240): at com.gizwits.gizwifisdk.api.Utils.openUrl(Utils.java:708)
11-01 16:47:17.294: E/StrictMode(26240): at com.gizwits.gizwifisdk.api.NetStatusReceiver$BaiDuHandler.handleMessage(NetStatusReceiver.java:155)
11-01 16:47:17.294: E/StrictMode(26240): at android.os.Handler.dispatchMessage(Handler.java:99)
11-01 16:47:17.294: E/StrictMode(26240): at android.os.Looper.loop(Looper.java:137)
11-01 16:47:17.294: E/StrictMode(26240): at android.os.HandlerThread.run(HandlerThread.java:61)
11-01 16:47:22.683: E/libEGL(27090): call to OpenGL ES API with no current context (logged once per thread)

dwli 发表于 2016-11-28 16:42:25

hi,该问题解决了吗?

kuxia 发表于 2016-12-15 16:51:24

dwli 发表于 2016-11-28 16:42
hi,该问题解决了吗?

没有,暂时还是用回旧版本了!
页: [1]
查看完整版本: Android 集成最新版sdk后问题汇总