Can't buid Android library 3.4 with last versions of Android Studio and BuildTools.
Lint Error Message:
Correctness
DuplicateIds: Duplicate ids within a single layout
../../src/main/res/layout/pop_view.xml:44: Duplicate id @+id/textView1, already defined earlier in this layout
41 android:src="@drawable/btn_view_single" />
42
43 <TextView
44 android:id="@+id/textView1"
45 android:layout_width="wrap_content"
46 android:layout_height="match_parent"
../../src/main/res/layout/pop_view.xml:22: @+id/textView1 originally defined here
19 android:src="@drawable/btn_view_vert" />
20
21 <TextView
22 android:id="@+id/textView1"
23 android:layout_width="wrap_content"
24 android:layout_height="match_parent"
../../src/main/res/layout/pop_view.xml:67: Duplicate id @+id/textView1, already defined earlier in this layout
64 android:src="@drawable/btn_view_dual" />
65
66 <TextView
67 android:id="@+id/textView1"
68 android:layout_width="wrap_content"
69 android:layout_height="match_parent"
../../src/main/res/layout/pop_view.xml:22: @+id/textView1 originally defined here
19 android:src="@drawable/btn_view_vert" />
20
21 <TextView
22 android:id="@+id/textView1"
23 android:layout_width="wrap_content"
24 android:layout_height="match_parent"
Priority: 7 / 10
Category: Correctness
Severity: Fatal
Explanation: Duplicate ids within a single layout.
Within a layout, id's should be unique since otherwise findViewById() can return an unexpected view.
More info:
To suppress this error, use the issue id "DuplicateIds" as explained in the Suppressing Warnings and Errors section.