Found any workaround yet? I'm struggling to find a way to trap or
swallow this exception with no luck. Still occurs on 2.2 :(

On Jul 19, 10:18 pm, mongd <mongdl...@gmail.com> wrote:
> Hi All, while I'm testing my app with Monkey test tool, I ran into the
> following exception:
> "IllegalArgumentException: parameter must be a descendant of this
> view"
>
> I don't really understand why this exception happens, so I did some
> research about this and found the following 
> post:http://groups.google.com/group/android-developers/browse_thread/threa...
>
> According to the above post, the issue once was resolved in Donut
> release, but some ppl say it still happens.
> Is there anyone who knows anything about this issue?
> As far as I understood, this issue shouldn't occur unless you
> intendedly call the method ViewGroup.offsetDescendantRectToMyCoords to
> get an exception.
>
> BTW, my app is using Tab, which means it has a lot of views in it.
> (including view changes too.)
> I don't really call setContentView repeatedly in my app though.
> Someone in the above post said that calling setContentView several
> times can cause this issue, so I just wanted to make sure that my app
> is not the case. =D
>
> If there's anyone who knows how to resolve this issue, please let me
> know.
> Great thanks in advance!!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to