CymChad / CymChad/BaseRecyclerViewAdapterHelper

提示dimen 的值重复

Open
#3,451 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Kotlin
Stars
24.6k
Forks
5.2k
PR merge metrics
No merged PRs in 30d

Description

Duplicate key: (row=dimen, column=dp_10), values: [UNDEFINED dimen dp_10 = 0x7f070226, UNDEFINED dimen dp_10 = 0x7f070098].
不知道为啥导入之后就提示dimen的key重复了,但是我搜索了整个项目都没有发现定义过这个key,十分诡异。我很确定导引3.0.4就会这样,注释了gradle就没有问题。

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the duplicate dimen error with dependency version 3.0.4, then inspect the Gradle resource-merge output to identify where both dp_10 definitions come from. The issue is resolved when importing version 3.0.4 no longer reports the duplicate resource without commenting out the Gradle dependency.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
build-system, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.