Incorrect line ending: found carriage return (\r) without corresponding newline (\n)
<!--
<ImageView
android:layout_width="@dimen/keyboard_separator_width"
android:layout_height="match_parent"
android:background="@drawable/separator_vertical"
/>
<RelativeLayout
android:id="@+id/button_sharp"
android:layout_width="1dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@drawable/keyboard_button2" >
<ImageView
android:layout_width="@dimen/keyboard_number_width"
android:layout_height="@dimen/keyboard_number_height"
android:layout_centerInParent="true"
android:src="@drawable/sharp"
android:focusable="false"
android:scaleType="centerCrop"
/>
</RelativeLayout>
-->
</LinearLayout>
android + eclipse在使用<!-- -->標籤後 出現此error問題:
Incorrect line ending: found carriage return (\r) without corresponding newline (\n)
真爛的eclipse....使用android studio都不會有這情況...
Solution:
cleaning the project and rebuild.
但是..只要在該檔案換個行,error就會再出現.
所以這是eclipse bug.
<ImageView
android:layout_width="@dimen/keyboard_separator_width"
android:layout_height="match_parent"
android:background="@drawable/separator_vertical"
/>
<RelativeLayout
android:id="@+id/button_sharp"
android:layout_width="1dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@drawable/keyboard_button2" >
<ImageView
android:layout_width="@dimen/keyboard_number_width"
android:layout_height="@dimen/keyboard_number_height"
android:layout_centerInParent="true"
android:src="@drawable/sharp"
android:focusable="false"
android:scaleType="centerCrop"
/>
</RelativeLayout>
-->
</LinearLayout>
android + eclipse在使用<!-- -->標籤後 出現此error問題:
Incorrect line ending: found carriage return (\r) without corresponding newline (\n)
真爛的eclipse....使用android studio都不會有這情況...
Solution:
cleaning the project and rebuild.
但是..只要在該檔案換個行,error就會再出現.
所以這是eclipse bug.
留言
張貼留言