当前位置:网站首页>android. database. sqlite. SQLiteException: Can't downgrade database from version 2 to 1
android. database. sqlite. SQLiteException: Can't downgrade database from version 2 to 1
2022-04-21 14:34:00 【CSDN Q & A】
android.database.sqlite.SQLiteException: Can't downgrade database from version 2 to 1 What are the possible reasons for this exception ? There is also how to solve ? Here are android stduio Error reporting position
/** * Encapsulate writable database objects db The creation of */ private SQLiteDatabase getDB(Context context) { MyDatabaseHelper myDatabaseHelper = MyDatabaseHelper.getInstance(context); return myDatabaseHelper.getWritableDatabase();// Wrong position }
Take the answer :
Did you downgrade the database version number ? stay APP Without uninstalling and clearing data , The database version number can only be increased but not decreased
版权声明
本文为[CSDN Q & A]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204142305273726.html
边栏推荐
猜你喜欢

如何在代码层面提供CPU分支预测效率

Translation of mastering ABP framework

In depth analysis of TCP three handshakes, the interviewer applauded

我们还能依赖Play to Earn经济获利多久?

分布式数据库--SQL优化之Plan Hint

你会“卖”SQL?

论文复现——Libra R-CNN: Towards Balanced Learning for Object Detection

or1k启动文件分析

英特尔最新成果:制造出大规模硅基量子比特

Use go language to complete the student information management system through restful API
随机推荐
Insect double linked list
Dbaver cannot connect to the database. How to solve it?
使用Go语言通过RestfulAPI完成学生信息管理系统
虫子 二叉树
Dapr 远程调试之 Nocalhost
虫子 文件操作
Experience and guidance of seniors preparing for the postgraduate entrance examination of Chinese International Education in Beijing Foreign Studies University in 2023
Worm PWM
A lifetime of needs, team collaboration can play this way on cloud nailing applet
Golang zap log
买个腾讯云服务器玩玩
UE4根据地图名称获得完整地图路径
MySQL kills 16 questions. How long can you hold on to it?
Experience and guidance of seniors preparing for the postgraduate entrance examination of Applied Psychology in Northeast Normal University in 2023
程序员必备工具箱
虫子 归并 计数
如何在excel中插入文件?Excel插入对象和附件有什么区别?(插入对象能直接显示内容,但我没显示?)
文本处理——sed
How to provide CPU branch prediction efficiency at the code level
虫子 PWM