But if the user tries the same operation again, it works. So if it's a permissions problem, it's temporary. The error message offers no clue as the real error happens in native code and the JNI java code just gives a generic message.
On Feb 3, 4:06 pm, Jim Andresakis <[email protected]> wrote: > Are you trying to pull data out of the users phone that your app > stored in the sql db? If so maybe those particular devices that give > that error dont allow access to that file possibly. > > On Feb 2, 5:08 pm, Zsolt Vasvari <[email protected]> wrote: > > > > > > > > > Hi, I am using ACRA and get an average of one report of this kind a day: > > > android.database.sqlite.SQLiteException: unable to open database file > > at android.database.sqlite.SQLiteDatabase.dbopen(Native Method) > > at android.database.sqlite.SQLiteDatabase.<init>(SQLiteDatabase.java:1956) > > at > > android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:902 > > ) > > > This is a one time error, if the user tries again, it works. It seems to > > come from all kinds of users on all kinds of devices on different SDK > > levels. > > > I open my database once and I store the connection in a static object. > > > I suspect a bug in my code somehow, but I am at a loss. Anybody with any > > ideas, or seen this error happen? > > > Thanks! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

