error: Resource entry white is already defined.
error: Resource entry transparentBlack is already defined.
解决办法:注释styles.xml文件的两条语句
<color name="white">#ffffff</color>
<color name="transparentBlack">#55000000</color>
Multiple annotations found at this line:
- error: No resource identifier found for attribute 'animationBitmapFormat' in package
'com.aphidmobile.flipview.demo'
- error: No resource identifier found for attribute 'orientation' in package 'com.aphidmobile.flipview.demo'
解决办法:修改名称空间的定义
<com.aphidmobile.flip.FlipViewController
xmlns:flip="xmlns:flip="http://schemas.android.com/apk/res-auto"
android:id="@+id/flipView"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
flip:orientation="horizontal"
flip:animationBitmapFormat="RGB_565"
/>
改为:
<com.aphidmobile.flip.FlipViewController
xmlns:flip="http://schemas.android.com/apk/com.aphidmobile.flipview.demo"
android:id="@+id/flipView"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
flip:orientation="horizontal"
flip:animationBitmapFormat="RGB_565"
/>