Android Question api 19 and sqlite.SQLiteException: unable to open database file


Active Member
Licensed User

I updated the api to 19.0.3 and run the application fails
android.database.sqlite.SQLiteException: unable to open database file

DBFileName = "QUOJI.db"
DBFilePath = File.DirRootExternal
sql_conexion.Initialize (DBFilePath, DBFileName, True)

because this error occurs?

thank you


Well-Known Member
Licensed User
File permission changes is your problem. You need to add the READ_EXTERNAL_STORAGE and WRITE_EXTERNAL_STORAGE permissions to your manifest file.


Active Member
Licensed User

the error persists

I changed the editor manifiest

'This code will be Applied to the manifest file During compilation.
'You do not need to modify it in MOST cases you.
'See this link for for more information:
AddManifestText (
<uses-sdk android: minSdkVersion = "4" android: targetSdkVersion = "14" />
<uses-permission android: name = "android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android: name = "android.permission.READ_EXTERNAL_STORAGE" />
<supports-screens android: largeScreens = "true"
android: normalScreens = "true"
android: smallScreens = "true"
android: anyDensity = "true" />)

SetApplicationAttribute (android: icon, "@ drawable / icon")
SetApplicationAttribute (android: label, "$ LABEL $")
'End of default text.


thank you