[mono-android] inflate exception

Tomasz Cielecki tomasz at ostebaronen.dk
Thu Nov 17 16:59:04 EST 2011


So you say you do not get any information or stack traces in your
output window in Visual Studio?

If you run the latest beta there should be improvements on that part
catching uncaught exceptions and presenting them in VS - that is ofc.
if you actually use the debugger.

Otherwise you can either use adb or ddms to show the device log and
see if there is any stack traces there.

You can just paste the XML here on the mailing list so that others can
help as well, or put it in a gist or on pastebin.

On Thu, Nov 17, 2011 at 4:47 PM, Wally McClure
<theevilprogrammer at hotmail.com> wrote:
> Tomas,
>
> I sometimes forget that you guys need info to.  Last night, I wasn't getting
> any info regarding Android.View.InflateException, now I am getting an error
> that implies that my xml is incorrect.  Basically, I'm asking if there is
> anyway to surface more information regarding errors in visual studio so that
> I don't have to go out to adb, ddms, or anything else.
>
> I can send you the project.  Would that be helpful?
>
> Wally
>
>> Date: Thu, 17 Nov 2011 10:21:01 +0100
>> From: tomasz at ostebaronen.dk
>> To: monodroid at lists.ximian.com
>> Subject: Re: [mono-android] inflate exception
>>
>> Can you show us the code using to inflate?
>>
>> Also could you provide the whole error instead of "I'm getting
>> something like: InflateException". It is hard for us to reproduce and
>> help you if you don't provide more information.
>>
>> On Thu, Nov 17, 2011 at 3:33 AM, Wally McClure
>> <theevilprogrammer at hotmail.com> wrote:
>> > I'm writing a sample with honeycomb and am using fragments.  I'm
>> > debugging
>> > this and am getting an exception when I load my layout.  In the VS
>> > messagebox, I'm getting something like:
>> > InflateException:
>> >
>> > Unfortunately, the information that I think should come out isn't.  As a
>> > result, I'm trying to hunt and peck to figure out what my problem is.
>> > Is
>> > there anyway to bubble up more information?
>> >
>> > Wally
>> >
>> > _______________________________________________
>> > Monodroid mailing list
>> > Monodroid at lists.ximian.com
>> >
>> > UNSUBSCRIBE INFORMATION:
>> > http://lists.ximian.com/mailman/listinfo/monodroid
>> >
>> >
>>
>>
>>
>> --
>> Med Venlig Hilsen / With Best Regards
>> Tomasz Cielecki
>> http://ostebaronen.dk
>> _______________________________________________
>> Monodroid mailing list
>> Monodroid at lists.ximian.com
>>
>> UNSUBSCRIBE INFORMATION:
>> http://lists.ximian.com/mailman/listinfo/monodroid
>
> _______________________________________________
> Monodroid mailing list
> Monodroid at lists.ximian.com
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
>
>



-- 
Med Venlig Hilsen / With Best Regards
Tomasz Cielecki
http://ostebaronen.dk


More information about the Monodroid mailing list