我开发了一个Android应用程序。它在模拟器中工作正常。当我试图在我的设备中安装相同的apk文件时,应用程序显示“遗憾的应用程序已停止”并终止安装。 我通过重新安装应用程序尝试了很多次。请帮助解决方案。提前致谢。 logcat中的输出如下:
W/System.err( 4272): javax.net.ssl.SSLException: SSL handshake aborted: ssl=0x1449be8: I/O error during system call, Connection reset by peer
W/System.err( 4272): at org.apache.harmony.xnet.provider.jsse.NativeCrypto.SSL_do_handshake(Native Method)
W/System.err( 4272): at org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:410)
W/System.err( 4272): at org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl$SSLInputStream.<init>(OpenSSLSocketImpl.java:643)
W/System.err( 4272): at org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl.getInputStream(OpenSSLSocketImpl.java:614)
W/System.err( 4272): at org.apache.http.impl.io.SocketInputBuffer.<init>(SocketInputBuffer.java:70)
W/System.err( 4272): at org.apache.http.impl.SocketHttpClientConnection.createSessionInputBuffer(SocketHttpClientConnection.java:83)
W/System.err( 4272): at org.apache.http.impl.conn.DefaultClientConnection.createSessionInputBuffer(DefaultClientConnection.java:170)
W/System.err( 4272): at org.apache.http.impl.SocketHttpClientConnection.bind(SocketHttpClientConnection.java:106)
W/System.err( 4272): at org.apache.http.impl.conn.DefaultClientConnection.openCompleted(DefaultClientConnection.java:129)
W/System.err( 4272): at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:172)
W/System.err( 4272): at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164)
W/System.err( 4272): at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119)
W/System.err( 4272): at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:360)
W/System.err( 4272): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
W/System.err( 4272): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487)
W/System.err( 4272): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:465)
W/System.err( 4272): at com.getjar.sdk.comm.CommManager.processesRequest(CommManager.java:563)
W/System.err( 4272): at com.getjar.sdk.comm.CommManager.processesRequestWithRetries(CommManager.java:409)
W/System.err( 4272): at com.getjar.sdk.comm.CommManager.access$1200(CommManager.java:60)
W/System.err( 4272): at com.getjar.sdk.comm.CommManager$RequestCallable.call(CommManager.java:1124)
W/System.err( 4272): at com.getjar.sdk.comm.CommManager$RequestCallable.call(CommManager.java:1114)
W/System.err( 4272): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
W/System.err( 4272): at java.util.concurrent.FutureTask.run(FutureTask.java:137)
W/System.err( 4272): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
W/System.err( 4272): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
W/System.err( 4272): at java.lang.Thread.run(Thread.java:856)