上周我看到了一个名为 ACRA(Android 应用程序崩溃报告)的库,了解更多详细信息,请 单击此处:
我在我的 android 应用程序中实现了相同的程序,并在我的三星手机中安装了该应用程序,它将所有崩溃报告文件发送到我注册的 Gmail 文档中。而在使用其他一些 android 手机时,我遇到了异常,如查看日志:
01-01 20:55:35.193: E/ACRA(985): Failed to send crash report for 1262378355000- approved.stacktrace
01-01 20:55:35.193: E/ACRA(985): org.acra.sender.ReportSenderException: Error while sending report to Google Form.
01-01 20:55:35.193: E/ACRA(985): at org.acra.sender.GoogleFormSender.send(GoogleFormSender.java:88)
01-01 20:55:35.193: E/ACRA(985): at org.acra.SendWorker.sendCrashReport(SendWorker.java:178)
01-01 20:55:35.193: E/ACRA(985): at org.acra.SendWorker.checkAndSendReports(SendWorker.java:141)
01-01 20:55:35.193: E/ACRA(985): at org.acra.SendWorker.run(SendWorker.java:77)
01-01 20:55:35.193: E/ACRA(985): Caused by: javax.net.ssl.SSLPeerUnverifiedException: No peer certificate
01-01 20:55:35.193: E/ACRA(985): at org.apache.harmony.xnet.provider.jsse.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:289)
01-01 20:55:35.193: E/ACRA(985): at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:124)
01-01 20:55:35.193: E/ACRA(985): at org.apache.http.conn.ssl.SSLSocketFactory.createSocket(SSLSocketFactory.java:412)
01-01 20:55:35.193: E/ACRA(985): at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:195)
01-01 20:55:35.193: E/ACRA(985): at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:195)
01-01 20:55:35.193: E/ACRA(985): at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:150)
01-01 20:55:35.193: E/ACRA(985): at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:390)
01-01 20:55:35.193: E/ACRA(985): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:586)
01-01 20:55:35.193: E/ACRA(985): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:518)
01-01 20:55:35.193: E/ACRA(985): at org.acra.util.HttpRequest.sendPost(HttpRequest.java:132)
01-01 20:55:35.193: E/ACRA(985): at org.acra.sender.GoogleFormSender.send(GoogleFormSender.java:85)
it seems to be a untrusted signature/cerfication in the mobile.will u guys know about this problem