Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Undefined complexType 'java.lang.Object' is used as a base for complex type extension

I have very simple layout in .axml source file in AndroidApp. I use this layout to add dynamic TextViews and Buttons. Application works correct.

Even though I get a warning (Line 6, Column 8): Undefined complexType 'java.lang.Object' is used as a base for complex type extension.

 <?xml version="1.0" encoding="utf-8"?>
 <LinearLayout xmlns:x="http://schemas.android.com/apk/res/android"
    x:orientation="horizontal"
    x:layout_width="match_parent"
    x:layout_height="match_parent"
    x:id="@+id/mainLayout"/>
like image 618
Sebastian Avatar asked Apr 11 '17 16:04

Sebastian


1 Answers

This is a common problem in VS 2017 and Xamarin and many people are complaining about it.

Visual studio 2017 Intellisense error

I think It's a bug, waiting for Microsoft to release a bugfix for it.

like image 191
Charaf Avatar answered Oct 17 '22 13:10

Charaf