Calling delete on a file that doesn't exist is fine, though it will result
in that warning log message (which we should really get rid of).

If the application is stopping, this is not the error causing it.  There
will be a stack crawl from a crash.  If there isn't, your app is most likely
stuck in a loop, and you should attach the debugger and see what it is
doing.

On Wed, Dec 23, 2009 at 11:21 AM, Mark Murphy <[email protected]>wrote:

> Andrew Huff wrote:
> > anyone have any insight as to why this error is happening and a
> > possible fix?
>
> /data/data/com.blah.blah/files/special_button.png is a reference to a
> file in your app-local file storage area. AFAIK, nothing in Android
> directly refers to files there except under your direction. Hence, it
> feels like you are calling delete() or unlink() on a File that does not
> exist.
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://twitter.com/commonsguy
>
> Android Training in US: 22-26 February 2010: http://onlc.com
>
> --
> 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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 
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

Reply via email to