Do not hardcode path like //data/data/<Your-Application-Package-Name>/databases/<your-database-name>
. Well it does work in most cases, but this one is not working in devices where device can support multiple users. The path can be like //data/user/10/<Your-Application-Package-Name>/databases/<your-database-name>
. Possible solution to this is using context.getDatabasePath(<your-database-name>)
.