使用 ACRA 进行 Android 崩溃报告

发布于 2024-10-07 20:22:09 字数 2606 浏览 1 评论 0原文

如何设置我的项目以使用 ACRA 发送崩溃报告。我读了一些帖子,但无法做到。

我在 http://code.google.com/p/ 中获得了一些详细信息acra/wiki/ACRAHowTo#Setting-up_your_project 但这对我不起作用

12-15 14:06:06.221: WARN/System.err(2972): java.net.UnknownHostException: Host is unresolved: spreadsheets.google.com:80
12-15 14:08:11.111: WARN/System.err(3050): java.net.UnknownHostException: Host is unresolved: spreadsheets.google.com:80
12-15 14:08:11.111: WARN/System.err(3050):     at java.net.Socket.connect(Socket.java:1037)
12-15 14:08:11.111: WARN/System.err(3050):     at org.apache.harmony.luni.internal.net.www.protocol.http.HttpConnection.<init>(HttpConnection.java:62)
12-15 14:08:11.121: WARN/System.err(3050):     at org.apache.harmony.luni.internal.net.www.protocol.http.HttpConnectionManager$ConnectionPool.getHttpConnection(HttpConnectionManager.java:145)
12-15 14:08:11.121: WARN/System.err(3050):     at org.apache.harmony.luni.internal.net.www.protocol.http.HttpConnectionManager.getConnection(HttpConnectionManager.java:67)
12-15 14:08:11.132: WARN/System.err(3050):     at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.getHTTPConnection(HttpURLConnection.java:821)
12-15 14:08:11.151: WARN/System.err(3050):     at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:807)
12-15 14:08:11.151: WARN/System.err(3050):     at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1150)
12-15 14:08:11.161: WARN/System.err(3050):     at org.acra.HttpUtils.doPost(HttpUtils.java:87)
12-15 14:08:11.172: WARN/System.err(3050):     at org.acra.ErrorReporter.sendCrashReport(ErrorReporter.java:537)
12-15 14:08:11.172: WARN/System.err(3050):     at org.acra.ErrorReporter.checkAndSendReports(ErrorReporter.java:632)
12-15 14:08:11.180: WARN/System.err(3050):     at org.acra.ErrorReporter.handleException(ErrorReporter.java:443)
12-15 14:08:11.191: WARN/System.err(3050):     at org.acra.ErrorReporter.handleException(ErrorReporter.java:459)
12-15 14:08:11.191: WARN/System.err(3050):     at org.acra.ErrorReporter.uncaughtException(ErrorReporter.java:335)
12-15 14:08:11.201: WARN/System.err(3050):     at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:887)
12-15 14:08:11.211: WARN/System.err(3050):     at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:884)
12-15 14:08:11.220: WARN/System.err(3050):     at dalvik.system.NativeStart.main(Native Method)

How can I set up my project for sending crash report using ACRA. I read some posts but am not able to do it.

I got some details in http://code.google.com/p/acra/wiki/ACRAHowTo#Setting-up_your_project but it would not work for me

12-15 14:06:06.221: WARN/System.err(2972): java.net.UnknownHostException: Host is unresolved: spreadsheets.google.com:80
12-15 14:08:11.111: WARN/System.err(3050): java.net.UnknownHostException: Host is unresolved: spreadsheets.google.com:80
12-15 14:08:11.111: WARN/System.err(3050):     at java.net.Socket.connect(Socket.java:1037)
12-15 14:08:11.111: WARN/System.err(3050):     at org.apache.harmony.luni.internal.net.www.protocol.http.HttpConnection.<init>(HttpConnection.java:62)
12-15 14:08:11.121: WARN/System.err(3050):     at org.apache.harmony.luni.internal.net.www.protocol.http.HttpConnectionManager$ConnectionPool.getHttpConnection(HttpConnectionManager.java:145)
12-15 14:08:11.121: WARN/System.err(3050):     at org.apache.harmony.luni.internal.net.www.protocol.http.HttpConnectionManager.getConnection(HttpConnectionManager.java:67)
12-15 14:08:11.132: WARN/System.err(3050):     at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.getHTTPConnection(HttpURLConnection.java:821)
12-15 14:08:11.151: WARN/System.err(3050):     at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:807)
12-15 14:08:11.151: WARN/System.err(3050):     at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1150)
12-15 14:08:11.161: WARN/System.err(3050):     at org.acra.HttpUtils.doPost(HttpUtils.java:87)
12-15 14:08:11.172: WARN/System.err(3050):     at org.acra.ErrorReporter.sendCrashReport(ErrorReporter.java:537)
12-15 14:08:11.172: WARN/System.err(3050):     at org.acra.ErrorReporter.checkAndSendReports(ErrorReporter.java:632)
12-15 14:08:11.180: WARN/System.err(3050):     at org.acra.ErrorReporter.handleException(ErrorReporter.java:443)
12-15 14:08:11.191: WARN/System.err(3050):     at org.acra.ErrorReporter.handleException(ErrorReporter.java:459)
12-15 14:08:11.191: WARN/System.err(3050):     at org.acra.ErrorReporter.uncaughtException(ErrorReporter.java:335)
12-15 14:08:11.201: WARN/System.err(3050):     at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:887)
12-15 14:08:11.211: WARN/System.err(3050):     at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:884)
12-15 14:08:11.220: WARN/System.err(3050):     at dalvik.system.NativeStart.main(Native Method)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

送你一个梦 2024-10-14 20:22:09

我怀疑设备上没有 DNS?您可以在设备的浏览器上浏览电子表格吗?

I would suspect no DNS on the device? Can you browse to spreadsheets.google.com on the browser in the device?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文