问题
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