LuckSiege / LuckSiege/PictureSelector

AAPT: error: resource android:attr/lStar not found.

Open
#2,305 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
13.6k
Forks
3.1k
PR merge metrics
No merged PRs in 30d

Description

##感谢你们开源

Current use version?

当前使用的版本是多少?
implementation 'io.github.lucksiege:pictureselector:v3.0.6'

Will this problem occur in demo?

Demo能否复现这问题?
可以复现这个问题,在compileSdkVersion 30 和targetSdkVersion 30会出问题,若升为31就可以,但是在真正项目中若升级为31影响了其它模块,而其它模块报的错目前在自己解决能力的范围之外
请问下,能否也支持30呢

Describe the problem or provide an error log?

描述问题或提供错误log?
目前使用(1)jdk8, gradle6.5 (2)classpath 'com.android.tools.build:gradle:4.0.0'
报的错是:res\values\values.xml:105:5-114:25: AAPT: error: resource android:attr/lStar not found.

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

Start by reproducing the AAPT error with PictureSelector v3.0.6, JDK 8, Gradle 6.5, Android Gradle Plugin 4.0.0, and compileSdkVersion 30. Inspect the dependency and Android build configuration; done means the demo builds with compileSdkVersion 30 and targetSdkVersion 30 without the android:attr/lStar error.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
build-system, mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.