当前位置:网站首页>Room cannot create an SQLite connection to verify the queries

Room cannot create an SQLite connection to verify the queries

2022-07-06 00:16:00 Guo Bao

Environmental Science :

Java edition :java11

Gradle edition :7.2.1

AndroidStudio edition :Android Studio Chipmunk 2021.2.1 Patch 1

problem :

stay mac Run in computer android Project time , The following error message appears

Room cannot create an SQLite connection to verify the queries. Query verification will be disabled. Error: Error opening connection
public abstract class CacheDatabase extends RoomDatabase {
   

terms of settlement :

1、 Click on File> Project Struceure >  Project , take Android Gradle Plugin Version Version changed to 4.2.2

, And then Gradle Version Version changed to 6.7.1 

   

 2、 And then click SDK Location > Gradle Setting , take JDK The version of is changed to 1.8

 

3、 And then click ok Download the specified gradle edition , This problem can be solved by re running the project after downloading

 

原网站

版权声明
本文为[Guo Bao]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/187/202207060010082361.html