Packaging options and Auth Token
Add it in your root build.gradle at the end of repositories.
buildscript {
repositories {
...
jcenter()
}
}
allprojects {
repositories {
...
jcenter()
maven {
url 'https://jitpack.io'
credentials { username 'jp_ssguccab6c5ge2l4jitaj92ek2' }
}
}
}
Set Accura SDK as a dependency to our app/build.gradle file.
android {
...
packagingOptions {
pickFirst 'lib/arm64-v8a/libcrypto.so'
pickFirst 'lib/arm64-v8a/libssl.so'
pickFirst 'lib/armeabi-v7a/libcrypto.so'
pickFirst 'lib/armeabi-v7a/libssl.so'
pickFirst 'lib/x86/libcrypto.so'
pickFirst 'lib/x86/libssl.so'
pickFirst 'lib/x86_64/libcrypto.so'
pickFirst 'lib/x86_64/libssl.so'
pickFirst '**/libjsc.so'
pickFirst '**/libc++_shared.so'
pickFirst 'lib/x86/libc++_shared.so'
pickFirst 'lib/x86_64/libc++_shared.so'
pickFirst 'lib/armeabi-v7a/libc++_shared.so'
pickFirst 'lib/arm64-v8a/libc++_shared.so'
pickFirst 'lib/x86/libopencv_java4.so'
pickFirst 'lib/armeabi-v7a/libopencv_java4.so'
pickFirst 'lib/arm64-v8a/libopencv_java4.so'
pickFirst 'lib/x86_64/libopencv_java4.so'
pickFirst 'lib/armeabi-v7a/libopencv_java4.so'
pickFirst 'lib/armeabi-v7a/libaccurasdk.so'
pickFirst 'lib/arm64-v8a/libaccurasdk.so'
pickFirst 'lib/armeabi-v7a/libaccuraface.so'
pickFirst 'lib/arm64-v8a/libaccuraface.so'
pickFirst 'lib/armeabi-v7a/libaccuraliveness.so'
pickFirst 'lib/arm64-v8a/libaccuraliveness.so'
}
}
Last updated