FaceVerificationSDK icon indicating copy to clipboard operation
FaceVerificationSDK copied to clipboard

和room冲突

Open yzc90912 opened this issue 1 year ago • 3 comments

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

yzc90912 avatar Jan 15 '24 09:01 yzc90912

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

AnyLifeZLB avatar Jan 16 '24 02:01 AnyLifeZLB

如果直接使用库中的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.

yzc90912 avatar Jan 16 '24 07:01 yzc90912

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

AnyLifeZLB avatar Mar 26 '24 03:03 AnyLifeZLB