I am receiving many errors of kind displayed in the subj. These errors seems to be occasional and I cannot reproduce them. From stack I can learn that such error may occurs
This link may help you. Try checking in your manifest for problems. If you can get it to happen again, post your entire stack trace so that we can see what the error actually is.
EDIT: I'm sure you've checked this, but what is on line 12 of the XML file you use for the TourActivity layout?
ViewFlipper
loads all images into memory during layout inflating. Because my images are big it takes many memory, I replaced ViewFlipper
with ImageSwitcher
which can change the images with animation like ViewFlipper
but it loads only one image at the time.
In my case I've to specify the complete package name of library UI component that I use in my layout file.
In my case,this error happen when I use the Floating action button and set android:backgroundTint="#000"
. Then just don't set backgroundTint
and problem solved.
Hope it's helpful for you.
I had this error because i selected theme as Material theme. But as i was trying to run app on 4.4.2 it gave this error.
Solution : Select Theme_holo as theme