许多用户抱怨的Android应用程序无法连接到Wifi,但可以在移动网络上运行

时间:2016-04-06 18:56:28

标签: android android-volley android-networking

我在Play商店有一个Android应用程序,下载量约为500,000。它是一个壁纸应用程序,从我的服务器检索所有壁纸。

我有这么多用户给予负面评价,说应用程序不会在wifi上加载墙,但在蜂窝网络上工作。这是最新的评论之一

  

无法在wifi上工作第一天它适用于wifi。然后。突然停了下来   工作,并没有加载wifi。适用于移动网络。敬请期待   进入这个。

我和我的测试团队从来没有在我们的设备或模拟器上发生此问题。

这是我正在使用的库 com.mcxiaoke.volley:库:1.0.19

看着我的崩溃报告,我发现这是最重要的非致命问题之一

我已经审查了实际地址。

Non-fatal Exception: com.a.b.o: java.net.UnknownHostException: Unable to resolve host "www.*****.io": No address associated with hostname
       at com.android.volley.toolbox.BasicNetwork.performRequest(BasicNetwork.java:158)
       at com.android.volley.NetworkDispatcher.run(NetworkDispatcher.java:114)
Caused by java.net.UnknownHostException: Unable to resolve host "www.*****.io": No address associated with hostname
       at java.net.InetAddress.lookupHostByName(InetAddress.java:470)
       at java.net.InetAddress.getAllByNameImpl(InetAddress.java:252)
       at java.net.InetAddress.getAllByName(InetAddress.java:215)
       at com.android.okhttp.internal.Network$1.resolveInetAddresses(Network.java:29)
       at com.android.okhttp.internal.http.RouteSelector.resetNextInetSocketAddress(RouteSelector.java:220)
       at com.android.okhttp.internal.http.RouteSelector.nextProxy(RouteSelector.java:176)
       at com.android.okhttp.internal.http.RouteSelector.next(RouteSelector.java:108)
       at com.android.okhttp.internal.http.HttpEngine.createNextConnection(HttpEngine.java:482)
       at com.android.okhttp.internal.http.HttpEngine.nextConnection(HttpEngine.java:465)
       at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:447)
       at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:353)
       at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:468)
       at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:410)
       at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponseCode(HttpURLConnectionImpl.java:532)
       at com.android.volley.toolbox.HurlStack.performRequest(HurlStack.java:110)
       at com.android.volley.toolbox.BasicNetwork.performRequest(BasicNetwork.java:97)
       at com.android.volley.NetworkDispatcher.run(NetworkDispatcher.java:114)
Caused by android.system.GaiException: android_getaddrinfo failed: EAI_NODATA (No address associated with hostname)
       at libcore.io.Posix.android_getaddrinfo(Posix.java)
       at libcore.io.ForwardingOs.android_getaddrinfo(ForwardingOs.java:55)
       at java.net.InetAddress.lookupHostByName(InetAddress.java:451)
       at java.net.InetAddress.getAllByNameImpl(InetAddress.java:252)
       at java.net.InetAddress.getAllByName(InetAddress.java:215)
       at com.android.okhttp.internal.Network$1.resolveInetAddresses(Network.java:29)
       at com.android.okhttp.internal.http.RouteSelector.resetNextInetSocketAddress(RouteSelector.java:220)
       at com.android.okhttp.internal.http.RouteSelector.nextProxy(RouteSelector.java:176)
       at com.android.okhttp.internal.http.RouteSelector.next(RouteSelector.java:108)
       at com.android.okhttp.internal.http.HttpEngine.createNextConnection(HttpEngine.java:482)
       at com.android.okhttp.internal.http.HttpEngine.nextConnection(HttpEngine.java:465)
       at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:447)
       at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:353)
       at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:468)
       at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:410)
       at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponseCode(HttpURLConnectionImpl.java:532)
       at com.android.volley.toolbox.HurlStack.performRequest(HurlStack.java:110)
       at com.android.volley.toolbox.BasicNetwork.performRequest(BasicNetwork.java:97)
       at com.android.volley.NetworkDispatcher.run(NetworkDispatcher.java:114)

可能是什么问题?这可能是用户wifi网络的问题吗?或者我的网络服务器问题,即DreamHost?

0 个答案:

没有答案