简体   繁体   中英

Android layout could not be loaded in Xamarin

I created Xamarin project and when i added android layout, it failed to give me layout in the design view. I have updated my android sdk to 24.3.3 which is the latest one. Below is the image of error i am receiving.

无法加载 Android 布局

Please help me. Anyone?

Have you check the XML to see if it is valid? I would open it in a text editor and check.

Also the names of your layout elements.

You're probably missing the

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

at the top of your .axml file and/or

xmlns:android="http://schemas.android.com/apk/res/android"

in the first element

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM