当前位置:网站首页>Warning using room database: schema export directory is not provided to the annotation processor so we cannot export
Warning using room database: schema export directory is not provided to the annotation processor so we cannot export
2022-07-05 05:19:00 【Novice Xiaowang】
Warning : Schema export directory is not provided to the annotation processor so we cannot export the schema. You can either provide `room.schemaLocation` annotation processor argument OR set exportSchema to false.
public abstract class MyRoomDatabase extends RoomDatabase {
Not provided to annotation processor framework Export directory , Therefore, the schema cannot be exported . You can provide room.schemaLocation Annotate processor parameters or exportSchema Set to false
resolvent
1、 stay build gradle Add ( recommend )
javaCompileOptions {
annotationProcessorOptions {
arguments = ["room.schemaLocation": "$projectDir/schemas".toString()]
}
}2.exportSchema = false
边栏推荐
猜你喜欢

Shell Sort
![[轉]: OSGI規範 深入淺出](/img/54/d73a8d3e375dfe430c2eca39617b9c.png)
[轉]: OSGI規範 深入淺出

Applet Live + e - commerce, si vous voulez être un nouveau e - commerce de détail, utilisez - le!
![[interval problem] 435 Non overlapping interval](/img/a3/2911ee72635b93b6430c2efd05ec9a.jpg)
[interval problem] 435 Non overlapping interval

Yolov5 ajouter un mécanisme d'attention

【论文笔记】Multi-Goal Reinforcement Learning: Challenging Robotics Environments and Request for Research

Unity ugui source code graphic

C语言杂谈1
![[speed pointer] 142 circular linked list II](/img/f8/222a360c01d8ef120b61bdd2025044.jpg)
[speed pointer] 142 circular linked list II

To the distance we have been looking for -- film review of "flying house journey"
随机推荐
YOLOv5添加注意力機制
Es module and commonjs learning notes
Pointnet++学习
Ue4/ue5 illusory engine, material chapter, texture, compression and memory compression and memory
64 horses, 8 tracks, how many times does it take to find the fastest 4 horses at least
Haut OJ 1241: League activities of class XXX
Fragment addition failed error lookup
利用HashMap实现简单缓存
Grail layout and double wing layout
[转]: OSGI规范 深入浅出
搭建完数据库和网站后.打开app测试时候显示服务器正在维护.
[paper notes] multi goal reinforcement learning: challenging robotics environments and request for research
2022/7/1学习总结
Yolov5 ajouter un mécanisme d'attention
Merge sort
Shell Sort
cocos2dx_ Lua particle system
Research on the value of background repeat of background tiling
小程序直播+電商,想做新零售電商就用它吧!
嵌入式数据库开发编程(六)——C API