We're having a crash when starting the app and it tries to create the shared preferences and read from the database. It happens in different devices, mostly HTCs but also LGs, that are running Gingerbread, and they are not rooted.
E/ApplicationContext(2630): Couldn't create directory for SharedPreferences file /data/data/com.example.project/shared_prefs/com.example.project_preferences.xml
E/Database(2630): sqlite3_open_v2("/data/data/com.example.project/databases/project.db", &handle, 6, NULL) failed
We're initializing SharedPreferences with Roboguice.
Uninstalling the app and re-installing it seems to help, but we don't have a way to say that to our users.
I've looked around and found that people usually have this problem in rooted devices or in specific Samsung devices.
Thanks in advance!
Note: our real package name is unique, I've changed it on the code above so it's not public.