LitePal
LitePal copied to clipboard
An Android library that makes developers use SQLite database extremely easy.
jcenter 已经凉了
未调用之前可以,调用之后生成了很多属性,导致不能反序列化
功能提议
有考虑加密存储功能吗郭婶
I got an error for my project. How to solve? Execution failed for task ':app:checkDebugAarMetadata'. > Could not resolve all files for configuration ':app:debugRuntimeClasspath'. > Could not find org.litepal.android:core:1.4.1. Searched...
I'm using litepal 1.6. I store each login user's database like using this. val userId = loginUserId Litepal.use(LitepalDb.LitePalDB.fromDefault(userId)) It works as expected, but when the app is cleared from memory,...
字段中有List
data class LoginModel( val areacode: String, val deptid: Int, val message: String, val modules: List, val pushtoken: String, val realname: String, val result: Boolean, val status: Int, val token: String,...
public void checkSelfValid() { //这个判断条件作用是什么? 为什么要在本地存一份版本号 if (version < SharedUtil.getLastVersion(extraKeyName)) { throw new InvalidAttributesException( InvalidAttributesException.VERSION_IS_EARLIER_THAN_CURRENT); } } 由于自身操作不当 报异常 InvalidAttributesException org.litepal.exceptions.InvalidAttributesException: the version in litepal.xml is earlier than the current...
 
会报错 Caused by: org.litepal.exceptions.LitePalSupportException: java.util.List has no constructor. LitePal could not handle it at org.litepal.crud.DataHandler.createInstanceFromClass(DataHandler.java:616) at org.litepal.crud.DataHandler.query(DataHandler.java:141) at org.litepal.crud.QueryHandler.onFind(QueryHandler.java:159) at org.litepal.FluentQuery.find(FluentQuery.java:235) at org.litepal.FluentQuery.findFirst(FluentQuery.java:315) 多平台都有问您。麻烦回复一下
无参构造方法
今天发现一个奇怪的问题 打debug包的时候没问题 打release包安装以后打开发现以下crash _android.os.Parcel has no constructor. LitePal could not handle it_ 我刚开始以为是混淆的原因,捣鼓了半天还是不行。 在Isuues溜了半天,给对象添加了一个无参构造方法,我曹(sorry)奇迹出现了。。。我人晕了 郭神,嘛原因啊?