当前位置:网站首页>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版本,下载完成以后重新运行项目即可解决该问题
边栏推荐
- There is no network after configuring the agent by capturing packets with Fiddler mobile phones
- How much do you know about the bank deposit business that software test engineers must know?
- Redis high availability - master-slave replication, sentinel mode, cluster
- 【DesignMode】装饰者模式(Decorator pattern)
- wx. Getlocation (object object) application method, latest version
- PV static creation and dynamic creation
- Hudi of data Lake (2): Hudi compilation
- 【DesignMode】适配器模式(adapter pattern)
- Permission problem: source bash_ profile permission denied
- Open source CRM customer relationship system management system source code, free sharing
猜你喜欢

Determinant learning notes (I)
![[binary search tree] add, delete, modify and query function code implementation](/img/38/810a83575c56f17a7a0ed428a2e02e.png)
[binary search tree] add, delete, modify and query function code implementation

About the slmgr command

China Jinmao online electronic signature, accelerating the digitization of real estate business

AtCoder Beginner Contest 258【比赛记录】

MySql——CRUD

Problem solving win10 quickly open ipynb file

多普勒效應(多普勒頻移)

Detailed explanation of APP functions of door-to-door appointment service

AtCoder Beginner Contest 254【VP记录】
随机推荐
关于结构体所占内存大小知识
跟着CTF-wiki学pwn——ret2libc1
FFMPEG关键结构体——AVFormatContext
Teach you to run uni app with simulator on hbuilderx, conscience teaching!!!
硬件及接口学习总结
Recognize the small experiment of extracting and displaying Mel spectrum (observe the difference between different y_axis and x_axis)
提升工作效率工具:SQL批量生成工具思想
Global and Chinese markets of universal milling machines 2022-2028: Research Report on technology, participants, trends, market size and share
mysql-全局锁和表锁
XML configuration file (DTD detailed explanation)
[designmode] Decorator Pattern
微信小程序---WXML 模板语法(附带笔记文档)
QT--线程
7.5 decorator
FFMPEG关键结构体——AVFrame
妙才周刊 - 8
Yunna | what are the main operating processes of the fixed assets management system
MySQL global lock and table lock
C reflection and type
Key structure of ffmpeg - avframe