使用 ACRA 进行 Android 崩溃报告
如何设置我的项目以使用 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我怀疑设备上没有 DNS?您可以在设备的浏览器上浏览电子表格吗?
I would suspect no DNS on the device? Can you browse to spreadsheets.google.com on the browser in the device?