LitePal icon indicating copy to clipboard operation
LitePal copied to clipboard

An Android library that makes developers use SQLite database extremely easy.

Results 98 LitePal issues
Sort by recently updated
recently updated
newest added
trafficstars

android.database.CursorWindowAllocationException Cursor window allocation of 2097152 bytes failed. 以下是项目中使用的代码 List beanList = LitePal .where("cmd=?", cmd) .find(ApiCacheBean.class); bugly收集了上述异常信息

比如box类里面有pay_status这个属性,我只想正常使用他(用于一些逻辑处理),而不想他出现在数据库中。 因为平时很多时候没有写封装beans,所以简单的数据库LitePalSupport类是直接拿出来做交互的,需要一些额外的属性。

配置的混淆 `-keep class org.litepal.** {*;} -keep class * extends org.litepal.crud.LitePalSupport {*;}` 报错日志 `Caused by: org.litepal.exceptions.ParseConfigurationFileException: can not parse the litepal.xml, check if it's in correct format at org.litepal.parser.LitePalParser.usePullParse(LitePalParser.java:180) at org.litepal.parser.LitePalParser.parseLitePalConfiguration(LitePalParser.java:102)...

org.litepal.exceptions.LitePalSupportException: Attempt to invoke virtual method 'java.lang.Class[] java.lang.reflect.Constructor.getParameterTypes()' on a null object reference at org.litepal.crud.DataHandler.query(DataHandler.java:154) at org.litepal.crud.QueryHandler.onFind(QueryHandler.java:159) at org.litepal.FluentQuery.find(FluentQuery.java:234) at org.litepal.FluentQuery$1.run(FluentQuery.java:253) at java.lang.Thread.run(Thread.java:764) Caused by: org.litepal.exceptions.LitePalSupportException: Attempt to invoke virtual...

如何快速获取某一天的数据?目前是以时间戳来保存创建时间。

使用的版本litepal版本是3.2.3. org.litepal.guolindev:core:3.2.3 报的错误: Long monitor contention with owner RxCachedThreadScheduler-130 (5224) at java.util.List org.litepal.FluentQuery.find(java.lang.Class, boolean)(FluentQuery.java:224) waiters=697 in java.util.List org.litepal.FluentQuery.find(java.lang.Class, boolean) for 6.340s

这种问题该怎么解释啊,是库的问题吗

这是设计上无法无法避免的吗?还是为了稳定或什么的设计?

在执行下面这个代码的时候报了这个错 LitePal.deleteAll(Test.class); 请问是否支持判断当前库是否正在被操作呢

例如用户信息中有【籍贯 】和【现居地】两个字段,需要关联到【城市】这一张表