您的位置:首页 > 移动开发 > Android开发

七、Could not init DAOConfig

2017-06-30 16:31 357 查看
项目打包混淆的时候,安装成功之后启动崩溃显示 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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  android-studio
相关文章推荐