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

前端 未结 3 1566
走了就别回头了
走了就别回头了 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 15:13

    you need to define the repository in the root project's build.gradle:

    allprojects {
        repositories {
            google()
        }
    }
    

    these versions are a) completely outdated and b) do not mix com.android.support with androidx. and you cannot add Java dependencies into the buildscript dependencies, because this produces the error message Could not find method implementation().

    and maybe read the manual of this site, in order to provide input as a programmer would expect. only because you have a Mac does not exclude you from these guidelines ...which do exist for a reason.

    DO NOT post images of code, data, error messages, etc. - copy or type the text into the question. Please reserve the use of images for diagrams or demonstrating rendering bugs, things that are impossible to describe accurately via text.

    I could have simply fixed the dependencies, too... but I'm way too lazy to type from screenshots.

提交回复
热议问题