[G3 Android Development] sharky172:
Face Unlock not working

I just tried to configure trusted Face via smart unlock, but the app crash everytime.

Here his the log (missing apk or lib?) :

09-22 12:03:34.560 9431 9431 W System : ClassLoader referenced unknown path: /system/app/FaceLock/lib/arm

.........

09-22 12:05:01.567 9431 9431 E AndroidRuntime: FATAL EXCEPTION: main

09-22 12:05:01.567 9431 9431 E AndroidRuntime: Process: com.android.facelock, PID: 9431

09-22 12:05:01.567 9431 9431 E AndroidRuntime: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/system/app/FaceLock/FaceLock.apk"],nativeLibraryDirectories=[/system/app/FaceLock/lib/arm, /system/lib, /vendor/lib, /system/lib, /vendor/lib]]] couldn't find "libfacenet.so"

09-22 12:05:01.567 9431 9431 E AndroidRuntime: at java.lang.Runtime.loadLibrary0(Runtime.java:984)

09-22 12:05:01.567 9431 9431 E AndroidRuntime: at java.lang.System.loadLibrary(System.java:1562)

09-22 12:05:01.567 9431 9431 E AndroidRuntime: at com.google.android.libraries.vision.facenet.FaceNet.<clinit>(FaceNet.java:67)

09-22 12:05:01.567 9431 9431 E AndroidRuntime: at com.google.android.libraries.vision.facenet.FaceNet.createFromAssets(FaceNet.java:118)

09-22 12:05:01.567 9431 9431 E AndroidRuntime: at com.android.facelock.FaceLockUtil.initialize(FaceLockUtil.java:144)

09-22 12:05:01.567 9431 9431 E AndroidRuntime: at com.android.facelock.SetupEnrollmentScreen.onCreate(SetupEnrollmentScreen.java:517)

09-22 12:05:01.567 9431 9431 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:6684)

09-22 12:05:01.567 9431 9431 E AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)

09-22 12:05:01.567 9431 9431 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2637)

09-22 12:05:01.567 9431 9431 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2745)

09-22 12:05:01.567 9431 9431 E AndroidRuntime: at android.app.ActivityThread.-wrap12(ActivityThread.java)

09-22 12:05:01.567 9431 9431 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1492)

09-22 12:05:01.567 9431 9431 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)

09-22 12:05:01.567 9431 9431 E AndroidRuntime: at android.os.Looper.loop(Looper.java:154)

09-22 12:05:01.567 9431 9431 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6208)

09-22 12:05:01.567 9431 9431 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)

09-22 12:05:01.567 9431 9431 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:891)

09-22 12:05:01.567 9431 9431 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:781)

09-22 12:05:01.599 845 3327 W ActivityManager: Force finishing activity com.android.facelock/.SetupEnrollmentScreen

09-22 12:05:01.624 845 3327 W ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:877 com.android.server.am.AppErrors.crashApplicationInner:370 com.android.server.am.AppErrors.crashApplication:305 com.android.server.am.ActivityManagerService.handleApplicationCrashInner:13558 com.android.server.am.ActivityManagerService.handleApplicationCrash:13540

09-22 12:05:01.739 845 9530 I OpenGLRenderer: Initialized EGL, version 1.4

09-22 12:05:01.739 845 9530 D OpenGLRenderer: Swap behavior 1

09-22 12:05:02.102 845 871 W ActivityManager: Activity pause timeout for ActivityRecord{dcc6e79 u0 com.android.facelock/.SetupEnrollmentScreen t200 f}

09-22 12:05:02.213 3246 9068 I TrustAgent: [VoiceUnlockTrustletChimeraService] #isSupported true

09-22 12:05:02.217 845 871 I ActivityManager: Killing 6352:com.duokan.phone.remotecontroller/u0a85 (adj 906): empty #17

09-22 12:05:02.232 845 4600 D ActivityManager: cleanUpApplicationRecord -- 6352

09-22 12:05:04.670 293 541 D audio_hw_primary: out_standby: enter: stream (0xb623cfc0) usecase(1: low-latency-playback)

09-22 12:05:04.747 293 541 D hardware_info: hw_info_append_hw_type : device_name = speaker