当前位置:网站首页>Room cannot create an SQLite connection to verify the queries
Room cannot create an SQLite connection to verify the queries
2022-07-06 00:10:00 【郭宝】
环境:
Java版本:java11
Gradle版本:7.2.1
AndroidStudio 版本:Android Studio Chipmunk 2021.2.1 Patch 1
问题:
在mac电脑中运行android项目时,出现了如下报错信息
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 {
解决办法:
1、点击File> Project Struceure > Project ,将Android Gradle Plugin Version 版本改为 4.2.2
,然后将Gradle Version 版本改为6.7.1
2、然后点击SDK Location > Gradle Setting ,将JDK的版本改为1.8
3、然后点击ok下载指定的gradle版本,下载完成以后重新运行项目即可解决该问题
边栏推荐
- Open source CRM customer relationship system management system source code, free sharing
- 关于slmgr命令的那些事
- Huawei equipment configuration ospf-bgp linkage
- DEJA_ Vu3d - cesium feature set 055 - summary description of map service addresses of domestic and foreign manufacturers
- 时区的区别及go语言的time库
- What is information security? What is included? What is the difference with network security?
- Start from the bottom structure and learn the introduction of fpga---fifo IP core and its key parameters
- MySQL global lock and table lock
- 亲测可用fiddler手机抓包配置代理后没有网络
- Global and Chinese markets of universal milling machines 2022-2028: Research Report on technology, participants, trends, market size and share
猜你喜欢
Key structure of ffmpeg -- AVCodecContext
Knowledge about the memory size occupied by the structure
Laser slam learning record
Redis high availability - master-slave replication, sentinel mode, cluster
FFT learning notes (I think it is detailed)
About the slmgr command
My colleagues quietly told me that flying Book notification can still play like this
【在线聊天】原来微信小程序也能回复Facebook主页消息!
Teach you to run uni app with simulator on hbuilderx, conscience teaching!!!
选择致敬持续奋斗背后的精神——对话威尔价值观【第四期】
随机推荐
【二叉搜索树】增删改查功能代码实现
LeetCode 6005. The minimum operand to make an array an alternating array
MySQL functions
Gavin teacher's perception of transformer live class - rasa project actual combat e-commerce retail customer service intelligent business dialogue robot system behavior analysis and project summary (4
QT QPushButton details
Senparc. Weixin. Sample. MP source code analysis
openssl-1.0.2k版本升级openssl-1.1.1p
VBA fast switching sheet
Start from the bottom structure and learn the introduction of fpga---fifo IP core and its key parameters
Doppler effect (Doppler shift)
认识提取与显示梅尔谱图的小实验(观察不同y_axis和x_axis的区别)
China Jinmao online electronic signature, accelerating the digitization of real estate business
Miaochai Weekly - 8
第16章 OAuth2AuthorizationRequestRedirectWebFilter源码解析
时区的区别及go语言的time库
单商户V4.4,初心未变,实力依旧!
Hardware and interface learning summary
The use of El cascader and the solution of error reporting
Gd32f4xx UIP protocol stack migration record
Codeforces Round #804 (Div. 2)【比赛记录】