2017-09-23 125 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