google analytics easytracker导致java连接异常

时间:2011-12-17 15:49:27

标签: android google-analytics

我开始使用Google Analytics平台。 截至目前,我可以从我的模拟器连接到G.A服务器并上传信息。 问题是,当我从三星Galaxy S进行测试时,应用程序无法与G.A服务器通信。

我收到了下一个错误:

12-17 17:43:21.924: W/GoogleAnalyticsTracker(20577): Problem with socket or streams.
12-17 17:43:21.924: W/GoogleAnalyticsTracker(20577): java.net.ConnectException: www.google-analytics.com/127.0.0.1:80 - Connection refused
12-17 17:43:21.924: W/GoogleAnalyticsTracker(20577):    at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:207)
12-17 17:43:21.924: W/GoogleAnalyticsTracker(20577):    at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:437)
12-17 17:43:21.924: W/GoogleAnalyticsTracker(20577):    at java.net.Socket.connect(Socket.java:1002)
12-17 17:43:21.924: W/GoogleAnalyticsTracker(20577):    at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:119)
12-17 17:43:21.924: W/GoogleAnalyticsTracker(20577):    at com.google.android.apps.analytics.PipelinedRequester.maybeOpenConnection(Unknown Source)
12-17 17:43:21.924: W/GoogleAnalyticsTracker(20577):    at com.google.android.apps.analytics.PipelinedRequester.addRequest(Unknown Source)
12-17 17:43:21.924: W/GoogleAnalyticsTracker(20577):    at com.google.android.apps.analytics.NetworkDispatcher$DispatcherThread$AsyncDispatchTask.dispatchSomePendingHits(Unknown Source)
12-17 17:43:21.924: W/GoogleAnalyticsTracker(20577):    at com.google.android.apps.analytics.NetworkDispatcher$DispatcherThread$AsyncDispatchTask.run(Unknown Source)
12-17 17:43:21.924: W/GoogleAnalyticsTracker(20577):    at android.os.Handler.handleCallback(Handler.java:587)
12-17 17:43:21.924: W/GoogleAnalyticsTracker(20577):    at android.os.Handler.dispatchMessage(Handler.java:92)
12-17 17:43:21.924: W/GoogleAnalyticsTracker(20577):    at android.os.Looper.loop(Looper.java:130)
12-17 17:43:21.924: W/GoogleAnalyticsTracker(20577):    at android.os.HandlerThread.run(HandlerThread.java:60)

我认为我的设备存在问题 - 是否可以安装防火墙,无论问题是什么 - 如何绕过它?

1 个答案:

答案 0 :(得分:17)

我认为您使用自定义ROM或root用ROM修改主机阻止(重定向到localhost)对分析工具和横幅系统的所有请求。

相关信息