我在我的應用程序中使用Google ACRA。使用Google ACRA時的java.lang.NoSuchMethodError
最近我獲取發送到我的報告文件中出現以下錯誤:
java.lang.NoSuchMethodError:
at org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl.<init>(OpenSSLSocketImpl.java:213)
at org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImplWrapper.<init>(OpenSSLSocketImplWrapper.java:35)
at org.apache.harmony.xnet.provider.jsse.OpenSSLSocketFactoryImpl.createSocket(OpenSSLSocketFactoryImpl.java:92)
at org.acra.util.FakeSocketFactory.createSocket(FakeSocketFactory.java:79)
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:164)
at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164)
at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:359)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487)
at org.acra.util.HttpRequest.sendPost(HttpRequest.java:109)
at org.acra.util.HttpRequest.sendPost(HttpRequest.java:80)
at org.acra.util.HttpUtils.doPost(HttpUtils.java:59)
at org.acra.sender.GoogleFormSender.send(GoogleFormSender.java:62)
at org.acra.ErrorReporter.sendCrashReport(ErrorReporter.java:850)
at org.acra.ErrorReporter.checkAndSendReports(ErrorReporter.java:960)
at org.acra.ErrorReporter$ReportsSenderWorker.run(ErrorReporter.java:142)
出現該錯誤只在歌Nexus S運行Android 2.3.7。 我不知道它是否總是相同的設備。
顯然,錯誤不是來自應用程序本身,而是來自Google報告。
有沒有人有一個想法,我該如何解決它?
你使用ProGuard的呢? – Force 2012-01-08 09:58:22
我沒有使用ProGuard – 2012-01-09 15:16:33