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 就可以解决此问题