Could anyone please give any instructions on how to run this application? I am new to android and i am trying to run this on my phone. But i am not able to do so. I am trying to solve all the errors that i am getting while trying to run this but i am struck at a point and getting the following error.
at java.lang.Runtime.loadLibrary0(Runtime.java:1011)
at java.lang.System.loadLibrary(System.java:1657)
at com.facesdk.FaceSDKNative.<clinit>(FaceSDKNative.java:14)
at com.facesdk.MainActivity.<init>(MainActivity.java:41)
at java.lang.Class.newInstance(Native Method)
at android.app.Instrumentation.newActivity(Instrumentation.java:1174)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2669)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2856)
at android.app.ActivityThread.-wrap11(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1589)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6494)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)`
Could anyone please give any instructions on how to run this application? I am new to android and i am trying to run this on my phone. But i am not able to do so. I am trying to solve all the errors that i am getting while trying to run this but i am struck at a point and getting the following error.
E/AndroidRuntime: FATAL EXCEPTION: main Process: com.facesdk, PID: 13680 java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.facesdk-9GOwYJgoL4MH3zef9FGT6w==/base.apk"],nativeLibraryDirectories=[/data/app/com.facesdk-9GOwYJgoL4MH3zef9FGT6w==/lib/x86, /system/lib, /vendor/lib]]] couldn't find "libfacedetect.so"
My app gradle file
` apply plugin: 'com.android.application' apply plugin: 'com.google.gms.google-services'
android {
}
dependencies { // implementation fileTree(dir: 'libs', include: ['*.jar']) // implementation 'com.android.support:appcompat-v7:28.0.0' // implementation 'com.android.support.constraint:constraint-layout:1.1.3' // testImplementation 'junit:junit:4.12' // androidTestImplementation 'com.android.support.test:runner:1.0.2' // androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' // implementation 'com.android.support:design:28.0.0' // implementation 'com.android.support:cardview-v7:28.0.0'
} //apply plugin: 'com.google.gms.google-services' `
My Project Gradle file ` // Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript { repositories { jcenter() maven { url 'https://maven.google.com/' name 'Google' } } dependencies { classpath 'com.android.tools.build:gradle:4.0.0' classpath 'com.google.gms:google-services:4.3.3' //classpath 'com.google.gms:google-services:4.2.0'
}
allprojects { repositories { jcenter() maven { url 'https://maven.google.com/' name 'Google' } } }
allprojects { repositories { google() jcenter() } } task clean(type: Delete) { delete rootProject.buildDir } `
@jackweiwang could you please look into it. Thank You