I am developing a simple app. Just finished the home screen. If the orientation changes more than two times, it is throwing the error and application is force closing.
As the others clarified, part of a problem was an issue related to the background image I'd set for my layout. However, getting that solved, I persistently encountered the error:
Unfortunately the application has stopped
With trial and error, I found the problem was caused by the elements which after deleting them, I could eventually run the application.