Android Studio Preview 4.1数据库检查器崩溃的应用程序 [英] Android Studio Preview 4.1 Database inspector crashes app

查看:334
本文介绍了Android Studio Preview 4.1数据库检查器崩溃的应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我收到这样的通知

读取Sqlite数据库时出错:无法在上执行操作数据库(id = 3).数据库可能已经关闭.

Error reading Sqlite database: Unable to perform an operation on database (id=3). The database may have already been closed.

在Android Studio模拟器中调试我的应用时如果我快速更改Database Inspector的过程,则应用程序可以在模拟器上正常运行,否则它将立即断开连接并崩溃.

when debugging my app in Android Studio emulator if I fast change process of Database Inspector then app work ok on emulator otherwise it immediately is diconnected and crashes.

推荐答案

我得到了一个不使用数据库检查器的简单解决方案.从底部菜单中将其删除.如果您不单击它,则Studio工作正常.在打开数据库检查器"选项卡的删除过程后出现问题:右键单击数据库检查器->删除表单滑块

I got a simple solution not to use the DataBase inspector. remove it from the bottom menu. if you not click on it studio work properly. the problem comes after you open the 'Database inspector tab' remove process: Right-click on database inspector -> remove form slider

这篇关于Android Studio Preview 4.1数据库检查器崩溃的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆