2017-04-11 27 views
5

我在AndroidApp的.axml源文件中有非常簡單的佈局。 我使用此佈局來添加動態TextViews和按鈕。應用程序工作正確未定義的complexType'java.lang.Object'被用作複雜類型擴展的基礎

儘管我收到警告(第6行,第8列):未定義complexType'java.lang.Object'被用作複雜類型擴展的基礎。

<?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"/> 
+0

找到解決這個問題的辦法嗎? –

回答

7

這是VS 2017和Xamarin中的常見問題,許多人都在抱怨。

Visual studio 2017 Intellisense error

我認爲這是一個錯誤,等待微軟發佈一個bug修正它。

+0

發現這個問題的任何解決方案? –

+0

還沒有,我現在正在使用Android工作室。 – Charaf

相關問題