Same problem
I have downloaded and installed the latest SQL library.
I have the issue where it crashes (but only on the real device). The emulator works fine.
Sub LoadDB
Try
File.Copy(File.DirAssets,"squid.db",File.DirInternal,"squid.db")
If SQL1.IsInitialized = False Then
SQL1.Initialize(File.DirInternal, "squid.db", False)
End If
Catch
File.Copy(File.DirAssets,"squid.db",File.DirDefaultExternal,"squid.db")
If SQL1.IsInitialized = False Then
SQL1.Initialize(File.DirDefaultExternal, "squid.db", False)
End If
End Try
End Sub
This code Falls out of the Try block, then crashes on the copy which goes to the SD card. There is plenty of disk space, but the database is about 20MB.
The project has another, much smaller database which works fine. Both were created outside the Android environment. Any ideas?