错误:"属性缺少android命名空间前缀",

Sau*_*yan 0 xml android

我刚刚开始学习android,下面的代码似乎是正确的但我收到了错误.请帮忙.

<TextView 
android:id="@+id/intro"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="Enter some text:"
/>
Run Code Online (Sandbox Code Playgroud)

Rag*_*ood 8

确保已添加xmlns:android="http://schemas.android.com/apk/res/android"到第一个XML元素(<xml>标记之后).