您的位置:首页 > 产品设计 > UI/UE

Error in an XML file: aborting build.

2017-03-17 17:10 405 查看

Error in an XML file: aborting build.

解决方法1

<TextView
android:id="@+id/operation"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/hello_world"
/>


改成

<TextView>
android:id="@+id/operation"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/hello_world"
</TextView>


解决方法2

鼠标右键选择Source然后再选Format 就可以解决此问题
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  Error-in-a