Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core-1.7.0/res/values/values.xml:105:5-114:25: AAPT: error: resource android:attr/lStar not found. #38

Closed
dayang123 opened this issue Jun 6, 2022 · 4 comments
Assignees

Comments

@dayang123
Copy link

Our project compileSdkVersion is 30.
After add implementation 'com.github.hcaptcha:hcaptcha-android-sdk:2.2.0' and build. The error title shows will ocurr.
But upgrade compileSdkVersion to 31, the build will be ok.
We can not upgrade compileSdkVersion to 31 in a short time. Any else can solve this?

@CAMOBAP
Copy link
Collaborator

CAMOBAP commented Jun 12, 2022

@dayang123 could you please list other dependencies which are used by your application?

@e271828-
Copy link
Contributor

@CAMOBAP can you add a test with the example app that targets compileSdkVersion == 30?

@CAMOBAP
Copy link
Collaborator

CAMOBAP commented Jun 25, 2022

I reproduced a bit different issue, but I think the root is the same:

   > A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
      > The minCompileSdk (31) specified in a
        dependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties)
        is greater than this module's compileSdkVersion (android-30).
        Dependency: androidx.appcompat:appcompat:1.4.1.

We need to downgrade androidx.appcompat:appcompat to 1.3 PR on the way

@CAMOBAP CAMOBAP self-assigned this Jun 25, 2022
CAMOBAP added a commit that referenced this issue Jun 25, 2022
CAMOBAP added a commit that referenced this issue Jun 27, 2022
… host app (#48)

* #38 downgrade appcompat to 1.3.1 to support compileSdkVersion=30 in a host app
@e271828-
Copy link
Contributor

@dayang123 Please confirm that ver 3.1.1 solves the issue for you. If not we will re-open this issue. Closing for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants