Android phones connect in the studio, test software to create a Book table and write data to the BookStore. After the db, open the device file explorer view package below the database in the database, not update, how also can't update, BookStore, db has been the first 4 k, other log files are updated, solve, attempts to down only once in BookStore. The db update the display data of 20 k, and can use the db database Browser visualization, ask how to solve!!!!! thank you
CodePudding user response:
I also encountered this problem recently, although see the problem seems to be a long time ago, but the hope can help people search,Also has not been updated in my file, but also has the same size, always 20 KB, finally I accidentally put the file save as to the default address, found after opening is right, before has been saved to the desktop (in order to easy to find), the results before the open is always only a message,
CodePudding user response:
Write a check SQLite data classes, can put the data in the form of a log printed or displayed in TextView in the ActivityCodePudding user response:
I also encountered this problem,Inside the Device File Explorer data - data - com. Xx, xx of the corresponding directory inside the databases to check the database only 4 KB,
If directly to save it as the computer desktop to see what all have no,
Need to save the whole databases folder as to the default path, usually on the local document - androidstudio folder inside, and then find the corresponding to the db files, open, you can see the data, I am using SQLite Expert Personal 5 this software
CodePudding user response:
Top, I also met the same problem, need to save the whole databases folder after the as to the default path, use the database navigator on the plug-in, see the data