启动我的应用程序时收到以下错误.使用插件配置Crashlytics – 存在build.gradle,AndroidManifest.xml,crashlytics.properties中的相应条目.从我的Application类开始Crashlytics.我每次都得到这个.我不是代理或任何事情的背后.
E/Crashlytics﹕ Error performing auto configuration. com.crashlytics.android.internal.aD: java.net.ConnectException: Failed to connect to api.crashlytics.com/127.0.0.1 (port 443) after 10000ms: isConnected Failed: ECONNREFUSED (Connection refused) at com.crashlytics.android.internal.ay.a(SourceFile:2582) at com.crashlytics.android.internal.ay.b(SourceFile:2562) at com.crashlytics.android.internal.ay.b(SourceFile:2548) at com.crashlytics.android.a.a(SourceFile:81) at com.crashlytics.android.a.a(SourceFile:50) at com.crashlytics.android.Crashlytics.a(SourceFile:895) at com.crashlytics.android.Crashlytics.a(SourceFile:54) at com.crashlytics.android.t.a(SourceFile:839) at com.crashlytics.android.internal.aa.run(SourceFile:13) at java.lang.Thread.run(Thread.java:841) Caused by: java.net.ConnectException: Failed to connect to api.crashlytics.com/127.0.0.1 (port 443) after 10000ms: isConnected Failed: ECONNREFUSED (Connection refused) at libcore.io.IoBridge.isConnected(IoBridge.java:223) at libcore.io.IoBridge.connectErrno(IoBridge.java:161) at libcore.io.IoBridge.connect(IoBridge.java:112) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:192) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:459) at java.net.Socket.connect(Socket.java:843) at com.android.okhttp.internal.Platform.connectSocket(Platform.java:131) at com.android.okhttp.Connection.connect(Connection.java:101) at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:294) at com.android.okhttp.internal.http.HttpEngine.sendSocketRequest(HttpEngine.java:255) at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:206) at com.android.okhttp.internal.http.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:345) at com.android.okhttp.internal.http.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:89) at com.android.okhttp.internal.http.HttpURLConnectionImpl.getOutputStream(HttpURLConnectionImpl.java:197) at com.android.okhttp.internal.http.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:254) at com.crashlytics.android.internal.ay.i(SourceFile:2486) at com.crashlytics.android.internal.ay.j(SourceFile:2499)
解决方法
来自Crashlytics的Hemal来自这里.你能检查一下广告拦截软件是否干扰了连接吗?