com.google.firebase - java.lang.AssertionError:java.security.NoSuchAlgorithmException:未找到KeyPairGenerator RSA实现

时间:2016-07-20 11:06:07

标签: android google-play-services

在Nexus 4上获得此崩溃 - Android 4.1.2:

Fatal Exception: java.lang.AssertionError: java.security.NoSuchAlgorithmException: KeyPairGenerator RSA implementation not found
       at com.google.firebase.iid.zza.zzbms(Unknown Source)
       at com.google.firebase.iid.zzg.zzcxd(Unknown Source)
       at com.google.firebase.iid.zzd.zzb(Unknown Source)
       at com.google.firebase.iid.zzd.zzcxa(Unknown Source)
       at com.google.firebase.iid.zzd.zzbmu(Unknown Source)
       at com.google.firebase.iid.FirebaseInstanceId.getInstance(Unknown Source)
       at com.google.firebase.iid.FirebaseInstanceId.zzcww(Unknown Source)
       at com.google.firebase.iid.FirebaseInstanceIdService.zzaa(Unknown Source)
       at com.google.firebase.iid.FirebaseInstanceIdService.zzm(Unknown Source)
       at com.google.firebase.iid.zzb$2.run(Unknown Source)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
       at java.lang.Thread.run(Thread.java:856)
Caused by java.security.NoSuchAlgorithmException: KeyPairGenerator RSA implementation not found
       at org.apache.harmony.security.fortress.Engine.notFound(Engine.java:177)
       at org.apache.harmony.security.fortress.Engine.getInstance(Engine.java:151)
       at java.security.KeyPairGenerator.getInstance(KeyPairGenerator.java:85)
       at com.google.firebase.iid.zza.zzbms(Unknown Source)
       at com.google.firebase.iid.zzg.zzcxd(Unknown Source)
       at com.google.firebase.iid.zzd.zzb(Unknown Source)
       at com.google.firebase.iid.zzd.zzcxa(Unknown Source)
       at com.google.firebase.iid.zzd.zzbmu(Unknown Source)
       at com.google.firebase.iid.FirebaseInstanceId.getInstance(Unknown Source)
       at com.google.firebase.iid.FirebaseInstanceId.zzcww(Unknown Source)
       at com.google.firebase.iid.FirebaseInstanceIdService.zzaa(Unknown Source)
       at com.google.firebase.iid.FirebaseInstanceIdService.zzm(Unknown Source)
       at com.google.firebase.iid.zzb$2.run(Unknown Source)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
       at java.lang.Thread.run(Thread.java:856)

认为它可能与最新的谷歌服务有关,我只使用谷歌分析:

compile 'com.google.android.gms:play-services-analytics:9.2.1'

任何人遇到此问题并知道解决方案吗?

0 个答案:

没有答案