RadaeePDF.com :: Topic: Can't build Library 3.4 (1/1)
Welcome, Guest
Username: Password: Remember me

Signin/Signup with:

Here you should submit your bug reports with logcat.

TOPIC: Can't build Library 3.4

Can't build Library 3.4 2 years 5 months ago #8731

  • philbring
  • philbring's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 7
  • Karma: 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.
The administrator has disabled public write access.

Can't build Library 3.4 2 years 5 months ago #8736

  • nermeen
  • nermeen's Avatar
  • OFFLINE
  • Moderator
  • Posts: 683
  • Thank you received: 40
  • Karma: 18
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?
The administrator has disabled public write access.
Powered by Kunena Forum