Android: Sugar ORM No Such Table Exception

后端 未结 21 1115
一生所求
一生所求 2020-12-05 06:42

I am getting the No Such table exception when i am Using Sugar ORM with GPU image Android Library. I am using Gradle and Android Studio. Once i remove GPU image

21条回答
  •  误落风尘
    2020-12-05 07:15

    As stated in the README from the github repo, if you are using proguard, you should ensure that entities remain un-obfuscated so table and columns are named correctly.

    To do so, add this line to proguard-rules.pro:

    -keep class com.yourpackage.yourapp.domainclasspackage.** { *; }
    

提交回复
热议问题