Skip to content Skip to sidebar Skip to footer

Illegalargumentexception Occurs Only Sometimes In The App

I have found the following error in logcat when my app crashes. But I don't understand what the error actually means. If anyone knows please explain why these crashes occur. Moreov

Solution 1:

I saw this exact error reported from Android Market in an application I have developed. The problem, from what I can understand, actually comes from a bug in Android that sometimes happens when you change orientation while a ViewFlipper is visible (or, in rare cases, even when no ViewFlipper is visible). The bug is registered here, and the discussion leads to a class called SafeViewFlipper that can be used instead of ViewFlipper. I have not released a version of my app with this fix, but from what I can read in the bug report and other places others have used it with great success.

Solution 2:

In the Manifest file (Manifest.xml) you should add your Receiver. If you are using Eclipse with the ADT plugin, open Manifest.xml and go to the Application tab. Here you can add Activities, Services, Providers and Receivers.

Post a Comment for "Illegalargumentexception Occurs Only Sometimes In The App"