Android 错误:(39)分析XML时出错:格式不正确(无效令牌)

Android 错误:(39)分析XML时出错:格式不正确(无效令牌),android,xml,parsing,android-xml,Android,Xml,Parsing,Android Xml,我知道这方面有很多问题,但我真的不知道在XML文本中哪里会出现编译错误 我目前正在测试带有按钮的MapView。因此,在design中,我从调色板中拖动了一个按钮,并将其放置在XML设计中,当我单击build/run时,我收到一个错误: Error:(39) Error parsing XML: not well-formed (invalid token) 我的XML代码: <android.support.constraint.ConstraintLayout xmlns:a

我知道这方面有很多问题,但我真的不知道在XML文本中哪里会出现编译错误

我目前正在测试带有按钮的MapView。因此,在design中,我从调色板中拖动了一个按钮,并将其放置在XML设计中,当我单击build/run时,我收到一个错误:

   Error:(39) Error parsing XML: not well-formed (invalid token)
我的XML代码:

 <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:map="http://schemas.android.com/apk/res-auto"

xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="com.example.markjacks.myapp.MapsActivity" >

<fragment

android:id="@+id/map"
class="com.google.android.gms.maps.SupportMapFragment"
android:layout_width="0dp"
android:layout_height="0dp"
map:layout_constraintTop_toTopOf="parent"
android:layout_marginTop="8dp"
android:layout_marginRight="8dp"
map:layout_constraintRight_toRightOf="parent"
map:layout_constraintBottom_toBottomOf="parent"
android:layout_marginBottom="8dp"
android:layout_marginLeft="8dp"
map:layout_constraintLeft_toLeftOf="parent"
android:layout_marginStart="8dp"
android:layout_marginEnd="8dp"/>


<Button
    android:id="@+id/GoToLive"
    android:layout_width="90dp"
    android:layout_height="46dp"
    android:text="< Live"
    android:layout_marginRight="8dp"
    map:layout_constraintRight_toRightOf="parent"
    android:layout_marginLeft="8dp"
    map:layout_constraintLeft_toLeftOf="parent"
    map:layout_constraintBottom_toBottomOf="parent"
    android:layout_marginBottom="8dp"
    map:layout_constraintTop_toTopOf="parent"
    android:layout_marginTop="8dp"
    map:layout_constraintHorizontal_bias="0.498"
    map:layout_constraintVertical_bias="0.03" />


   </android.support.constraint.ConstraintLayout>


当按钮是XML格式时,我只收到这个“Error parsingXML:not well format”错误,所以它与映射片段无关。那么我的编译错误在哪里呢?

android:text=“
更改为
android:text=“Live”
哦,你的意思是不允许我使用“@iBEK:Right,