How to add Biometric support API (AndroidX) in my Old Android Project

前端 未结 3 1587
走了就别回头了
走了就别回头了 2021-01-16 14:16

SO After being an iOS Developer for 8 and half years , I started learning andorid 4 months ago and I was given a Cordova andorid project to work on. Task was to integrate Fi

3条回答
  •  醉酒成梦
    2021-01-16 14:57

    You are using implementation keyword which is not supported by your Gradle plugin (2.3.3)

    You can definitely add it to your gradle you just need to use compile instead of implementation compile "androidx.biometric:biometric:1.0.0-alpha03"

    If you want to use implementation you need to update your Gradle plugin. This would allow you to use newer android studio and but would require you to migrate some things to new gradle.

提交回复
热议问题