[英]Updating Realm to 0.88.3
I have updated realm
from the version 0.87.2
to 0.88.3
and I'm getting the error below: 我已经更新
realm
从版本0.87.2
至0.88.3
和我得到的错误如下:
java.lang.RuntimeException: Unable to start activity ComponentInfo{user.temp/user.temp.MainActivity}: io.realm.exceptions.RealmMigrationNeededException: RealmMigration must be provided
java.lang.RuntimeException:无法启动活动ComponentInfo {user.temp / user.temp.MainActivity}:io.realm.exceptions.RealmMigrationNeededException:必须提供RealmMigration
I didn't change anything in the models and I really don't know how to fix this issue. 我没有更改模型中的任何内容,而且我真的不知道如何解决此问题。
Any idea? 任何想法?
Thanks! 谢谢!
Try this: 尝试这个:
Go to your app setting clear cache
and then clear data
and then run again 转到您的应用程序设置,
clear cache
,然后clear data
,然后再次运行
Hope it helps. 希望能帮助到你。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.