AnyLifeZLB / FaceVerificationSDK

Android On_device 1:1 Face Recognition And Alive Detect;1:N & M:N Face Search SDK 。 🧒 离线版设备端Android1:1人脸识别动作活体检测,静默活体检测 以及1:N M:N 人脸搜索 SDK 封装
477 stars 95 forks source link

和room冲突 #32

Closed yzc90912 closed 5 months ago

yzc90912 commented 10 months ago

java.lang.RuntimeException: Cannot find implementation for .db.AppDatabase. AppDatabase_Impl does not exist

AnyLifeZLB commented 10 months ago

Log 有点少,能否提供更多的信息,谢谢

yzc90912 commented 10 months ago

如果直接使用库中的room 报错 Process: com.jnet.softservice, PID: 24858 java.lang.RuntimeException: Cannot find implementation for com.jnet.softservice.db.AppDatabase. AppDatabase_Impl does not exist at androidx.room.Room.getGeneratedImplementation(Room.kt:58) at androidx.room.RoomDatabase$Builder.build(RoomDatabase.kt:1357) at com.jnet.softservice.db.AppDatabase$Companion.getInstance(AppDatabase.kt:54) at com.jnet.softservice.ui.activity.mine.LoginActivity.lambda$onCreate$0$com-jnet-softservice-ui-activity-mine-LoginActivity(LoginActivity.java:228) at com.jnet.softservice.ui.activity.mine.LoginActivity$$ExternalSyntheticLambda0.run(Unknown Source:2) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644) at java.lang.Thread.run(Thread.java:1012) 2024-01-16 15:30:21.104 24858-24909 OpenGLRenderer com.jnet.softservice E Unable to match the desired swap behavior.

AnyLifeZLB commented 7 months ago

尝试升级SDK 1.8.8 或者你提示的最新版本