Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Here you should submit your bug reports with logcat.
  • Page:
  • 1

TOPIC:

Can't build Library 3.4 9 years 3 weeks ago #8731

  • philbring
  • philbring's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 7
  • Thank you received: 0
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.

Please Log in or Create an account to join the conversation.

Can't build Library 3.4 9 years 3 weeks ago #8736

  • nermeen
  • nermeen's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 962
  • Thank you received: 87
We double checked, we can build it without problems.

Are you trying to build only the demo project, or your project that references the demo?
Did you try to clean and rebuild?

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum