Android Question Sqlite error 1806 Application has no permission to open the specified database file

sebastian cajarville

New Member
Licensed User
Longtime User
Hello , i 'm interesting into access to database in root directory , my Phone is rooted , but when i try excecute code , the app shome this error message.

someone can help me , thank


################################################## ###############
Error Code : 1806 (SQLITE_CANTOPEN_EACCES)
Caused By : Application has no permission to open the specified database file.
(unable to open database file (code 1806): , while compiling: PRAGMA journal_mode)
################################################## ###############
2016-09-11 20:24:38.384 LL_W W [1:main] msgstore/checkdb/nodb/sqlerror android.database.sqlite.SQLiteCantOpenDatabaseExce ption: unable to open database file (code 1806): , while compiling: PRAGMA journal_mode
################################################## ###############
Error Code : 1806 (SQLITE_CANTOPEN_EACCES)
Caused By : Application has no permission to open the specified database file.
(unable to open database file (code 1806): , while compiling: PRAGMA journal_mode)
################################################## ###############
 

DrownedBat

Member
Licensed User
Longtime User
I ran into the same permission issues Sebastian. What did you mean about giving it permissions 777? Is this something that can be added to the manifest editor?
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…