当前位置:网站首页>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
边栏推荐
- Quick sort summary
- A preliminary study of sdei - see the essence through transactions
- Unity enables mobile phone vibration
- [turn to] MySQL operation practice (I): Keywords & functions
- Introduction to tools in TF-A
- To the distance we have been looking for -- film review of "flying house journey"
- 第六章 数据流建模—课后习题
- cocos2dx_ Lua particle system
- Binary search basis
- UE fantasy engine, project structure
猜你喜欢
To be continued] [UE4 notes] L4 object editing
服务熔断 Hystrix
Django reports an error when connecting to the database. What is the reason
win10虚拟机集群优化方案
Romance of programmers on Valentine's Day
Applet Live + e - commerce, si vous voulez être un nouveau e - commerce de détail, utilisez - le!
[轉]: OSGI規範 深入淺出
Merge sort
Do a small pressure test with JMeter tool
[to be continued] [UE4 notes] L3 import resources and project migration
随机推荐
Stm32cubemx (8): RTC and RTC wake-up interrupt
Merge sort
Unity check whether the two objects have obstacles by ray
FVP和Juno平台的Memory Layout介绍
[LeetCode] 整数反转【7】
Simple modal box
cocos2dx_ Lua card flip
Learning notes of "hands on learning in depth"
Solon Auth 认证框架使用演示(更简单的认证框架)
[to be continued] I believe that everyone has the right to choose their own way of life - written in front of the art column
[转]MySQL操作实战(三):表联结
[轉]: OSGI規範 深入淺出
Page countdown
Listview is added and deleted at the index
Quick sort summary
PMP candidates, please check the precautions for PMP examination in July
[es practice] use the native realm security mode on es
MySQL数据库(一)
2022/7/1 learning summary
Do a small pressure test with JMeter tool