当前位置:网站首页>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版本,下载完成以后重新运行项目即可解决该问题
边栏推荐
- LeetCode 1189. Maximum number of "balloons"
- 选择致敬持续奋斗背后的精神——对话威尔价值观【第四期】
- QT QPushButton details
- 妙才周刊 - 8
- MySql——CRUD
- 微信小程序---WXML 模板语法(附带笔记文档)
- 亲测可用fiddler手机抓包配置代理后没有网络
- Global and Chinese markets of universal milling machines 2022-2028: Research Report on technology, participants, trends, market size and share
- 【DesignMode】装饰者模式(Decorator pattern)
- Doppler effect (Doppler shift)
猜你喜欢

Miaochai Weekly - 8

What if the C disk is not enough? Let's see how I can clean up 25g of temp disk space after I haven't redone the system for 4 years?

wx. Getlocation (object object) application method, latest version

【DesignMode】装饰者模式(Decorator pattern)

FFMPEG关键结构体——AVFormatContext

About the slmgr command

wx.getLocation(Object object)申请方法,最新版
![[designmode] Decorator Pattern](/img/65/457e0287383d0ca9a28703a63b4e1a.png)
[designmode] Decorator Pattern

妙才周刊 - 8

Mathematical model Lotka Volterra
随机推荐
Global and Chinese markets for pressure and temperature sensors 2022-2028: Research Report on technology, participants, trends, market size and share
Mysql - CRUD
[gym 102832h] [template] combination lock (bipartite game)
The global and Chinese markets of dial indicator calipers 2022-2028: Research Report on technology, participants, trends, market size and share
Choose to pay tribute to the spirit behind continuous struggle -- Dialogue will values [Issue 4]
跟着CTF-wiki学pwn——ret2libc1
上门预约服务类的App功能详解
用列錶初始化你的vector&&initializer_list簡介
Qt QPushButton详解
[noi simulation] Anaid's tree (Mobius inversion, exponential generating function, Ehrlich sieve, virtual tree)
Key structure of ffmpeg -- AVCodecContext
Single merchant v4.4 has the same original intention and strength!
QT--线程
关于结构体所占内存大小知识
Open3D 点云随机添加噪声
The use of El cascader and the solution of error reporting
USB Interface USB protocol
MySql——CRUD
MySQL之函数
Open source CRM customer relationship system management system source code, free sharing