I have the exact same problem as described here: Flush MTP connection with Android tablet?
Every time I add a Column in my Android App in a local SQLite-Database, my Database gets malformed when I copy and paste the file to Windows machine.
It works when I do the following steps:
- Copy my Database to Android Filesystem
- Disconnect USB
- Open my App (Add Column)
- Connect USB again
- Copy/Paste Database File from Android to Windows = Not malformed
Or
- Copy my Database to Android Filesystem
- Open my App (Add Column)
- Reboot Android device
- Copy/Paste Database-File to Windows = Not malformed
Rescan does not help at all. It 2019, is there any solutions for this problem?