Resources$NotFoundException when trying to load animation
<p>Our app on Google Play market has a weird exception being thrown on some devices. I see the following stack trace: </p>

<pre><code>android.content.res.Resources$NotFoundException: File res/anim/ani_in_fade.xml from xml type anim resource ID #0x7f040000
   at android.content.res.Resources.loadXmlResourceParser(Resources.java:2185)
   at android.content.res.Resources.loadXmlResourceParser(Resources.java:2140)
   at android.content.res.Resources.getAnimation(Resources.java:894)
   at android.view.animation.AnimationUtils.loadAnimation(AnimationUtils.java:71)
   ....
</code></pre>

<p>Basically, all the animations are in place in the res/anim folder. Most of the devices load and display them without a problem. </p>

<p>Any ideas what may be the reason for this? One of the ideas I have is that activity is being (or has been) destroyed at the point we try to load the resource, however the context is not null at that point of time...</p>

<p>Thanks,</p>
