As Error:Could not init DAOConfig
Posted BandaYung
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了As Error:Could not init DAOConfig相关的知识,希望对你有一定的参考价值。
项目打包混淆的时候,安装成功之后启动崩溃显示 Could not init DAOConfig
解决:在proguard-rules.pro中加入
-keepclassmembers class * extends de.greenrobot.dao.AbstractDao
public static java.lang.String TABLENAME;
-keep class **$Properties
参考: http://stackoverflow.com/questions/34216163/daoconfig-init-failure-with-greendao-on-samsung-devices-with-android-5-0
以上是关于As Error:Could not init DAOConfig的主要内容,如果未能解决你的问题,请参考以下文章