Can't build Library 3.4 - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
13 Jul 2017
Microsoft has ended support for Windows Phone 8.1
Read More...
Here you should submit your bug reports with logcat.
  • Page:
  • 1

TOPIC: Can't build Library 3.4

Can't build Library 3.4 3 years 7 months ago #8731

  • philbring
  • philbring's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • 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 3 years 7 months ago #8736

  • nermeen
  • nermeen's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 865
  • Karma: 23
  • Thank you received: 70
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