AS开发中出现Error(七)——Could not init DAOConfig
来源:互联网 发布:spark json rdd 编辑:程序博客网 时间:2024/05/24 03:01
项目打包混淆的时候,安装成功之后启动崩溃显示 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
阅读全文
0 0
- AS开发中出现Error(七)——Could not init DAOConfig
- AS开发中出现Error(六)——Error: Activity class {} does not exist.Error while Launching activity
- AS开发中出现Error(五)——app:transformClassesAndResourcesWithProguardForRelease
- AS开发中出现Error(十)——Error:Execution failed for task ':app:processDebugManifest'.
- AS开发中出现Error(十三)——设置Multidex出现java.lang.NoClassDefFoundError
- AS开发中出现Error(十二)——Library中引用aar报错的问题
- AS开发中出现Error(四)——Error:Error converting bytecode to dex: Cause: com.android.dex.DexException: Mult
- AS开发中出现Error(八)——studio无法认出Android环境setup JDK
- AS开发中出现Error(一)——Error:Execution failed for task ':app:clean'. > Unable to delete directory
- AS开发中出现Error(三)——Error:Execution failed for task ':ProjectName:mergeDebugResources'. > Crunching Cru
- eric4中出现Could not start Qt-Designer. Ensure that it is available as designer.
- AS出现Error:Cause: peer not authenticated
- AS开发中出现Error(九)——app\build\intermediates\res\resources-xxx-stripped.ap_' specified for property 'res
- AS开发中出现Error(十一)——Duplicate files copied in APK META-INF/LICENSE.txt
- repo init error: could not verify the tag 'v1.12.7'
- 解决在AS中使用Genymotion时发生error: could not install *smartsocket* listener: cannot bind to 127.0.0.1:5037:
- 关于:MySQL 安装过程中出现“could not start the service mysql error:0”的解决办法。
- AS开发中出现Error(二)——Java.lang.NoSuchFieldError: No static field xxx of type I in class Lcom/XX/R$id; or
- 内存泄漏问题研究
- Linux进程间通信-信号
- 【[TCP/ip】-TCP三次握手四次挥手
- 如何让你的前端代码更像HTML5(用语义元素构造html5)
- WOW64
- AS开发中出现Error(七)——Could not init DAOConfig
- 函数调用
- Kotlin简介
- 【备忘】小迪2017年网络安全培训第15期
- JS正则表达式验证是否为11位有效手机号码
- easyui ValidateBox validType验证规则
- Yii控制器直接校验系统验证码
- 牛客华为机试题刷题笔记(三)
- 多线程经典面试题