Closed LiYing2010 closed 6 years ago
in app/src/main/res/layout/activity_post_login.xml, there are 2 <LinearLayout android:id="@+id/userDataLayout"> ... </LinearLayout> tags, and one is inside the other.
<LinearLayout android:id="@+id/userDataLayout"> ... </LinearLayout>
So, gradle build task complains an error:
Error: Duplicate id @+id/userDataLayout, already defined earlier in this layout [DuplicateIds] android:id="@+id/userDataLayout"
BTW, I am using the latest gradle v4.1, instead of the old gradle v2.14.1 which is used by this repo currently, maybe this is why this error not happen in current build environment?
Created PR https://github.com/line/line-sdk-starter-android-v2/pull/25 for this, please take a look.
Fixed.
in app/src/main/res/layout/activity_post_login.xml, there are 2
<LinearLayout android:id="@+id/userDataLayout"> ... </LinearLayout>
tags, and one is inside the other.So, gradle build task complains an error:
BTW, I am using the latest gradle v4.1, instead of the old gradle v2.14.1 which is used by this repo currently, maybe this is why this error not happen in current build environment?