Android Studio Preview 4.1 Database inspector crashes app

纵然是瞬间 提交于 2020-12-08 06:27:53

问题


I am getting such notice

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

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.


回答1:


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



来源:https://stackoverflow.com/questions/62082449/android-studio-preview-4-1-database-inspector-crashes-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!