' My Code:
Sub Process_Globals
Public kvs As KeyValueStore
End Sub
Sub Activity_Create(FirstTime As Boolean)
If FirstTime Then
Globals.objRP.CheckAndRequest(Globals.objRP.PERMISSION_WRITE_EXTERNAL_STORAGE)
Wait For Activity_PermissionResult (Permission As String , Result As Boolean)
If Result Then
' AQUI DA ERROR
kvs.Initialize(File.DirRootExternal, "datastore2")
End If
End If
End Sub
' --> Error occurred on line: 12 (KeyValueStore)
' --> android.database.sqlite.SQLiteCantOpenDatabaseException: unknown error (code 14 SQLITE_CANTOPEN): Could not open database