小编Mik*_*man的帖子

Android指纹身份验证:Crypto原语未初始化

我在应用程序中实现了指纹身份验证,这在一周前工作正常.没有更改代码,我现在收到以下错误:

FATAL EXCEPTION: main
    Caused by: java.lang.IllegalStateException: Crypto primitive not initialized
Run Code Online (Sandbox Code Playgroud)

我不知道发生了什么,因为代码中没有任何改变,甚至通过干净的分支来验证.

下面是我在应用程序中使用的依赖项列表.

compile 'com.android.support:appcompat-v7:23.1.1'
compile 'com.joanzapata.iconify:android-iconify-fontawesome:2.1.1'
compile 'com.android.support:design:23.+'
compile 'com.github.PhilJay:MPAndroidChart:v2.1.6'
compile 'com.squareup.okhttp:okhttp:2.7.1'
compile 'org.jdeferred:jdeferred-android-aar:1.2.4'
compile 'com.google.code.gson:gson:1.7.2'
compile "com.mixpanel.android:mixpanel-android:4.6.4"
compile "com.google.android.gms:play-services:3.1+"
compile('com.crashlytics.sdk.android:crashlytics:2.5.5@aar') {
    transitive = true;
}
compile 'io.branch.sdk.android:library:1.+'
compile 'com.parse.bolts:bolts-applinks:1.4.0'
compile 'com.github.greenfrvr:rubber-loader:1.1.2@aar'
compile 'com.github.deano2390:MaterialShowcaseView:1.0.6@aar'
Run Code Online (Sandbox Code Playgroud)

关于这些新的API,我应该注意什么?

android fingerprint android-fingerprint-api

3
推荐指数
1
解决办法
2793
查看次数