在android eclipse中为标记TextView找到了意外的命名空间前缀"android"

use*_*480 1 xml android android-layout

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

xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin)"
android:paddingTop="@dimen/activity_vertical_margin"
android:paddingRight="@dimen/activity_horizomtal_margin"
tools:context=".AnaEkranActivity" >


<TextView android:layout_height="wrap_content"
    android:layout_width="wrap_content"
    android:text="New Screen" />


</RelativeLayout>    
Run Code Online (Sandbox Code Playgroud)

我有2个错误.

Suspicious namespace: should start with http://
Run Code Online (Sandbox Code Playgroud)

在第一行.

其他是:

Unexpected namespace prefix "android" found for tag TextView
Run Code Online (Sandbox Code Playgroud)

android:text行.

是什么原因?它的格式很好

don*_*uxx 5

尝试:

xmlns:android="http://schemas.android.com/apk/res/android"
Run Code Online (Sandbox Code Playgroud)

代替:

xmlns:android="http:/schemas.android.com/apk/res/android"
Run Code Online (Sandbox Code Playgroud)

/在网址上忘记了一个.

你得到的第二个错误似乎只是第一个错误的后果.