首页
学习
活动
专区
工具
TVP
发布
社区首页 >问答首页 >android bugly 无法检测最新版 ?

android bugly 无法检测最新版 ?

提问于 2022-06-06 15:44:55
回答 0关注 0查看 199

网络都是正,为什么只有bugly 的接口检测就提示UnknownHostException: Unable to resolve host "android.bugly.qq.com":

CrashReport: java.net.UnknownHostException: Unable to resolve host "android.bugly.qq.com": No address associated with hostname

at java.net.Inet6AddressImpl.lookupHostByName(Inet6AddressImpl.java:141)

at java.net.Inet6AddressImpl.lookupAllHostAddr(Inet6AddressImpl.java:90)

at java.net.InetAddress.getAllByName(InetAddress.java:787)

at com.android.okhttp.Dns$1.lookup(Dns.java:39)

at com.android.okhttp.internal.http.RouteSelector.resetNextInetSocketAddress(RouteSelector.java:175)

at com.android.okhttp.internal.http.RouteSelector.nextProxy(RouteSelector.java:141)

at com.android.okhttp.internal.http.RouteSelector.next(RouteSelector.java:83)

at com.android.okhttp.internal.http.StreamAllocation.findConnection(StreamAllocation.java:174)

at com.android.okhttp.internal.http.StreamAllocation.findHealthyConnection(StreamAllocation.java:126)

at com.android.okhttp.internal.http.StreamAllocation.newStream(StreamAllocation.java:95)

at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:281)

at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:224)

at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:461)

at com.android.okhttp.internal.huc.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:127)

at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getOutputStream(HttpURLConnectionImpl.java:258)

at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getOutputStream(DelegatingHttpsURLConnection.java:218)

at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getOutputStream(Unknown Source:0)

at com.tencent.bugly.proguard.O.a(BUGLY:77)

at com.tencent.bugly.proguard.O.a(BUGLY:16)

at com.tencent.bugly.proguard.U.run(BUGLY:44)

at com.tencent.bugly.proguard.Q.run(BUGLY:1)

at java.lang.Thread.run(Thread.java:764)

Caused by: android.system.GaiException: android_getaddrinfo failed: EAI_NODATA (No address associated with hostname)

at libcore.io.Linux.android_getaddrinfo(Native Method)

at libcore.io.ForwardingOs.android_getaddrinfo(ForwardingOs.java:59)

at java.net.Inet6AddressImpl.lookupHostByName(Inet6AddressImpl.java:122)

at java.net.Inet6AddressImpl.lookupAllHostAddr(Inet6AddressImpl.java:90) 

at java.net.InetAddress.getAllByName(InetAddress.java:787) 

at com.android.okhttp.Dns$1.lookup(Dns.java:39) 

at com.android.okhttp.internal.http.RouteSelector.resetNextInetSocketAddress(RouteSelector.java:175) 

at com.android.okhttp.internal.http.RouteSelector.nextProxy(RouteSelector.java:141) 

at com.android.okhttp.internal.http.RouteSelector.next(RouteSelector.java:83) 

at com.android.okhttp.internal.http.StreamAllocation.findConnection(StreamAllocation.java:174) 

at com.android.okhttp.internal.http.StreamAllocation.findHealthyConnection(StreamAllocation.java:126) 

at com.android.okhttp.internal.http.StreamAllocation.newStream(StreamAllocation.java:95) 

at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:281) 

at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:224) 

at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:461) 

at com.android.okhttp.internal.huc.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:127) 

at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getOutputStream(HttpURLConnectionImpl.java:258) 

at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getOutputStream(DelegatingHttpsURLConnection.java:218) 

at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getOutputStream(Unknown Source:0) 

at com.tencent.bugly.proguard.O.a(BUGLY:77) 

at com.tencent.bugly.proguard.O.a(BUGLY:16) 

at com.tencent.bugly.proguard.U.run(BUGLY:44) 

at com.tencent.bugly.proguard.Q.run(BUGLY:1) 

at java.lang.Thread.run(Thread.java:764) 

回答

和开发者交流更多问题细节吧,去 写回答
相关文章

相似问题

相关问答用户
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档