Do you use android:sharedUserId? If so, did you ever change its value?
On Tue, May 1, 2012 at 7:40 PM, maciej <[email protected]> wrote: > We've got many reports about our application crashing - the top crash in > android developer console for us. > The problem is that method context.getFilesDir() returns null. > It is hard to reproduce (never have been able to do it locally). > After investigation I have noticed that /data/data/<pkg> directory has wrong > Linux permissions. > The ApplicationInfo.uid and dir permissions do not match. > I got uid = 10071 and dir with owner set to app_78. > Usually there is no application installed corresponding to app_78, but > I have found cases when my /data/data/<pkg> directory has permission > corresponding to other installed application. > Due to that my application is not able to write into its private directory, > files and shared_prefs directories can not be created. > > It looks like that uninstalling and installing application again fixes > problem - but it was not confirmed by users. > > I have found this: http://code.google.com/p/android/issues/detail?id=8886 > > Does anybody encounter the same issue ? > Is there any application level workaround ? > > > -- > 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 -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android 4.0 Programming Books: http://commonsware.com/books -- 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

