StorageServiceAccountSample的第一行
HTTP_TRANSPORT = GoogleNetHttpTransport.newTrustedTransport();
导致“找不到 KeyStore JKS 实现”:
W/System.err(20142): java.security.KeyStoreException: java.security.NoSuchAlgorithmException: KeyStore JKS implementation not found
W/System.err(20142): at java.security.KeyStore.getInstance(KeyStore.java:119)
W/System.err(20142): at com.google.api.client.util.SecurityUtils.getJavaKeyStore(SecurityUtils.java:48)
W/System.err(20142): at com.google.api.client.googleapis.GoogleUtils.getCertificateTrustStore(GoogleUtils.java:74)
W/System.err(20142): at com.google.api.client.googleapis.javanet.GoogleNetHttpTransport.newTrustedTransport(GoogleNetHttpTransport.java:55)
当我阅读 Android 不支持 JKS 时,我应该如何修改此方法以解决它?