Forum Visual Studio
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

Xamarin 4.0.8 The layout could not be loaded: Empty region!

UnpongUnpong THMember

Xamarin 4.0.8 (build 2) problem when open layout.
"The layout could not be loaded: Empty region!"

Howto resolve this problem?


  • LluisSanchezLluisSanchez ESXamarin Team Xamurai

    This seems to be a problem in the layout xml. Can you attach the layout? or send it to [email protected] if it can't be public.

  • UnpongUnpong THMember

    This problem found when the Xamarin Studio generate AndroidManifest.xml from "Option->Build->Android Application".

  • jamilcejamilce PKMember

    did you get the possible solution.... becoz I am also hang in this....problem///
    kindly he me.

  • UnpongUnpong THMember Empty region!

  • JeffreyStedfastJeffreyStedfast USXamarin Team Xamurai

    Could you submit a bug report at Thanks!

    I think the developer that maintains that code is on vacation right now and I don't want to risk this bug getting lost!

  • AnthonyRoseAnthonyRose ILMember

    I am also getting this type of "Empty region!" error with no clues for me to fix the problem except for: Empty region!

    I suspect the issue has NOTHING to do with the axml, so I need some rapid help to solve this.

    This is the VERY SIMPLE Layout.axml:

    <?xml version="1.0" encoding="utf-8"?>

  • UnpongUnpong THMember

    I found the solution here

    The problem is caused by the @drawable/app icon specified in the manifest.
    Looks like the Android SDK doesn't like .ico files. I'll do some research on
    that. As a workaround, try using a .png file instead of .icon.

  • it is my manifiest,
    <?xml version="1.0" encoding="utf-8"?>

    what is the solution exactly ?

  • <?xml version="1.0" encoding="utf-8"?>

    what need I change ?

Sign In or Register to comment.