2017-09-23 51 views
-5
<?xml version="1.0"encoding="utf-8"?> 
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 
xmlns:app="http://schema.android.com/apk/res-auto" 
xmlns:tools="http://schemas.android.com/tools" 
android:id="@+id/activity_main" 
android:layout_width="match_parent" 
android:layout_height="match_parent" 
android:orientation="vertical" 
tools:context="com.tk2323.ftsm.lab_ui_intent_a160158.MainActivity"> 

請幫助我這是我第一次使用android studio,我有3個錯誤,它說關於XML。我真的不知道這.......錯誤:(1)解析XML時出錯:XML聲明不規範

Error:(1) Error parsing XML: XML declaration not well-formed 
+0

這是整個XML文件已經? –

+0

'''在哪裏? –

+0

歡迎來到SO。這不是教程服務。請閱讀您正在使用的技術的基本知識,並在您瞭解自己正在撰寫的內容時回來。 –

回答

0

按照XML specifications你缺少一個空格,它應該是:

<?xml version="1.0" encoding="utf-8"?> 
+0

omg謝謝你工作! – Tatul