当前位置:网站首页>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
边栏推荐
- [转]MySQL操作实战(一):关键字 & 函数
- Time format conversion
- 记录QT内存泄漏的一种问题和解决方案
- Download xftp7 and xshell7 (official website)
- Ue4/ue5 illusory engine, material part (III), material optimization at different distances
- Solon Logging 插件的添加器级别控制和日志器的级别控制
- Development error notes
- [转]MySQL操作实战(三):表联结
- UE fantasy engine, project structure
- GBase数据库助力湾区数字金融发展
猜你喜欢
随机推荐
发现一个很好的 Solon 框架试手的教学视频(Solon,轻量级应用开发框架)
Fragment addition failed error lookup
Embedded database development programming (zero)
[turn]: OSGi specification in simple terms
Vs2015 secret key
2022上半年全国教师资格证下
Use the command character to close the keyboard command of the notebook
Romance of programmers on Valentine's Day
Transport connection management of TCP
2022 / 7 / 1 Résumé de l'étude
Haut OJ 1357: lunch question (I) -- high precision multiplication
[binary search] 34 Find the first and last positions of elements in a sorted array
[leetcode] integer inversion [7]
Under the national teacher qualification certificate in the first half of 2022
Listview pull-down loading function
小程序直播+电商,想做新零售电商就用它吧!
[es practice] use the native realm security mode on es
2022/7/1学习总结
一个新的微型ORM开源框架
Pointnet++的改进