demo 项目运行报错
已完成W/AndroidSecurityKeyStore: KeyStore exception
android.os.ServiceSpecificException: (code 7)
at android.os.Parcel.createException(Parcel.java:2096)
at android.os.Parcel.readException(Parcel.java:2050)
at android.os.Parcel.readException(Parcel.java:1998)
at android.security.keystore.IKeystoreService$Stub$Proxy.get(IKeystoreService.java:978)
at android.security.KeyStore.get(KeyStore.java:272)
at android.security.KeyStore.get(KeyStore.java:257)
at android.security.keystore.AndroidKeyStoreSpi.engineGetCertificate(AndroidKeyStoreSpi.java:160)
at java.security.KeyStore.getCertificate(KeyStore.java:1120)
at android.security.net.config.KeyStoreCertificateSource.ensureInitialized(KeyStoreCertificateSource.java:61)
at android.security.net.config.KeyStoreCertificateSource.findBySubjectAndPublicKey(KeyStoreCertificateSource.java:77)
at android.security.net.config.CertificatesEntryRef.findBySubjectAndPublicKey(CertificatesEntryRef.java:47)
at android.security.net.config.NetworkSecurityConfig.findTrustAnchorBySubjectAndPublicKey(NetworkSecurityConfig.java:123)
at android.security.net.config.TrustedCertificateStoreAdapter.getTrustAnchor(TrustedCertificateStoreAdapter.java:51)
at com.android.org.conscrypt.TrustManagerImpl.findTrustAnchorBySubjectAndPublicKey(TrustManagerImpl.java:964)
at com.android.org.conscrypt.TrustManagerImpl.checkTrusted(TrustManagerImpl.java:499)
at com.android.org.conscrypt.TrustManagerImpl.checkTrusted(TrustManagerImpl.java:426)
at com.android.org.conscrypt.TrustManagerImpl.getTrustedChainForServer(TrustManagerImpl.java:354)
at android.security.net.config.NetworkSecurityTrustManager.checkServerTrusted(NetworkSecurityTrustManager.java:94)
at android.security.net.config.RootTrustManager.checkServerTrusted(RootTrustManager.java:89)
at com.android.org.conscrypt.Platform.checkServerTrusted(Platform.java:224)
at com.android.org.conscrypt.ConscryptFileDescriptorSocket.verifyCertificateChain(ConscryptFileDescriptorSocket.java:407)
at com.android.org.conscrypt.NativeCrypto.SSL_do_handshake(Native Method)
at com.android.org.conscrypt.NativeSsl.doHandshake(NativeSsl.java:387)
at com.android.org.conscrypt.ConscryptFileDescriptorSocket.startHandshake(ConscryptFileDescriptorSocket.java:226)
at dji.thirdparty.okhttp3.internal.connection.RealConnection.connectTls(Unknown Source:65)
at dji.thirdparty.okhttp3.internal.connection.RealConnection.establishProtocol(Unknown Source:54)
at dji.thirdparty.okhttp3.internal.connection.RealConnection.connect(Unknown Source:187)
at dji.thirdparty.okhttp3.internal.connection.StreamAllocation.findConnection(Unknown Source:206)
at dji.thirdparty.okhttp3.internal.connection.StreamAllocation.findHealthyConnection(Unknown Source:0)
at dji.thirdparty.okhttp3.internal.connection.StreamAllocation.newStream(Unknown Source:22)
at dji.thirdparty.okhttp3.internal.connection.ConnectInterceptor.intercept(Unknown Source:25)
at dji.thirdparty.okhttp3.internal.http.RealInterceptorChain.proceed(Unknown Source:77)
at dji.thirdparty.okhttp3.internal.http.RealInterceptorChain.proceed(Unknown Source:6)
at dji.thirdparty.okhttp3.internal.cache.CacheInterceptor.intercept(Unknown Source:132)
at dji.thirdparty.okhttp3.internal.http.RealInterceptorChain.proceed(Unknown Source:77)
at dji.thirdparty.okhttp3.internal.http.RealInterceptorChain.proceed(Unknown Source:6)
at dji.thirdparty.okhttp3.internal.http.BridgeInterceptor.intercept(Unknown Source:160)
at dji.thirdparty.okhttp3.internal.http.RealInterceptorChain.proceed(Unknown Source:77)
at dji.thirdparty.okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(Unknown Source:49)
at dji.thirdparty.okhttp3.internal.http.RealInterceptorChain.proceed(Unknown Source:77)
at dji.thirdparty.okhttp3.internal.http.RealInterceptorChain.proceed(Unknown Source:6)
at dji.thirdparty.okhttp3.RealCall.getResponseWithInterceptorChain(Unknown Source:114)
at dji.thirdparty.okhttp3.RealCall$AsyncCall.execute(Unknown Source:4)
at dji.thirdparty.okhttp3.internal.NamedRunnable.run(Unknown Source:17)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:929)
请先登录再写评论。
评论
1 条评论