locked
Enable Intellisense for AXML (Missing android-layout-xml.xsd/schemas.android.com.apk.res.androiod??) RRS feed

  • Question

  • User195779 posted

    Hello all,

    I'm trying to enable Intellisense for AXML in Visual Studio 2013 but the two required .xsd files are missing from the Xamarin folder? Any ideas?

    Thanks to anyone who can help...

    Tuesday, February 16, 2016 12:39 AM

Answers

  • User66025 posted

    @BrandonRoberts.3369,

    I suggest a workaround. Just make a try :smile:

    • https://github.com/atsushieno/monodroid-schema-gen/blob/master/android-layout-xml.xsd
    • https://github.com/atsushieno/monodroid-schema-gen/blob/master/schemas.android.com.apk.res.android.xsd

    You can get those files from the above links, Just download it and those files move it manually to C:\Program Files (x86)\Microsoft Visual Studio 12.0\Xml\Schemas or simply just add these schemas within Visual Studio.

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Tuesday, February 16, 2016 5:51 AM

All replies

  • User66025 posted

    @BrandonRoberts.3369,

    I suggest a workaround. Just make a try :smile:

    • https://github.com/atsushieno/monodroid-schema-gen/blob/master/android-layout-xml.xsd
    • https://github.com/atsushieno/monodroid-schema-gen/blob/master/schemas.android.com.apk.res.android.xsd

    You can get those files from the above links, Just download it and those files move it manually to C:\Program Files (x86)\Microsoft Visual Studio 12.0\Xml\Schemas or simply just add these schemas within Visual Studio.

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Tuesday, February 16, 2016 5:51 AM
  • User56606 posted

    Could someone from Xamarin please update the KB: https://kb.xamarin.com/customer/portal/articles/1920119-how-do-i-enable-intellisense-in-android-axml-files-

    Thank you. :)

    Tuesday, March 8, 2016 3:06 PM
  • User220411 posted

    @YkshLeo sorry for being a bit late. I tried the workaround and found the files. While trying to import "android-layout-xml.xsd" I get an error message telling me the request for certain permission failed, making it impossible to use them in my project. Any ideas?

    Wednesday, April 27, 2016 10:10 PM
  • User217567 posted

    I just tried this on sdk version 25.1.6, VS 2015 and it did not work. Something is broken since this last Xamarin update. Any ideas?? I get a blue underline when I add android.support.v7.widget.Toolbar

    Thursday, June 16, 2016 2:37 PM
  • User377422 posted

    Any updates on this? A select few references (such as android:layout_weight) have blue underlines. Getting sick of it spamming my editor warnings

    Wednesday, September 12, 2018 1:45 AM