Unable to import and utilise library
Opened this issue · 0 comments
mal33k-eden commented
Hi, i have installed the fing just as the wiki document illustrates but i am not able to utilise it in my code.
I combed through the sample app and implemented the same this but android studio is not able to identify the library
import block
import com.overlook.android.fingkit.FingScanner;
Gradle
`
plugins {
id 'com.android.application'
}
android {
compileSdk 33
useLibrary 'org.apache.http.legacy'
defaultConfig {
applicationId "com.example.securitytouch"
minSdk 21
targetSdk 33
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
dependencies {
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'com.google.android.material:material:1.8.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation 'com.github.fingltd:devrecog:2.6.1'
implementation 'com.google.protobuf:protobuf-java:4.0.0-rc-2'
implementation 'com.squareup.okhttp3:okhttp:5.0.0-alpha.11'
implementation 'org.snmp4j:snmp4j:3.7.7'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
}`