How to use fingerprintjs-android in Java #49
Unanswered
touhidrasel
asked this question in
Q&A
Replies: 1 comment
-
Hello! Make sure you declared the right repository (jitpack), you can do it either in the projects allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}} And then don't forget to declare the dependencies. Our library is written on Kotlin, so import dependencies {
// Add this line!!!
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
implementation "com.github.fingerprintjs:fingerprint-android:1.2"
}
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I can not import the Fingerprinter class from fingerprintjs-android library. There is documentation to add a dependency for java but after I have added the library I can not import any class from it. I am using Android studio and I am writing java code.
Android Studio does not recognize "Fingerprinter" as an object.
Am I missing something? Is there any special import statement I need to use? Please help.
Beta Was this translation helpful? Give feedback.
All reactions