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

"Android build error AAPT: error: resource android:attr/lStar not found" #11

Open
gwl002 opened this issue Dec 20, 2021 · 0 comments
Open

Comments

@gwl002
Copy link
Owner

gwl002 commented Dec 20, 2021

问题

Execution failed for task ':app:processDebugResources'.

A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
Android resource linking failed
/Users/devingong/.gradle/caches/transforms-2/files-2.1/f616efa5326a198920e8ac1c64cb6655/core-1.8.0-alpha02/res/values/values.xml:105:5-114:25: AAPT: error: resource android:attr/lStar not found.

解决办法

添加androidXCore = "1.6.0"

buildscript {
    ext {
        buildToolsVersion = "28.0.3"
        minSdkVersion = 21
        compileSdkVersion = 29
        targetSdkVersion = 28
        adroidXCore = "1.6.0"
    }
    repositories {
        google()
        jcenter()
    }
    dependencies {
        classpath("com.android.tools.build:gradle:3.5.3")
        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}
@gwl002 gwl002 changed the title Android build error AAPT: error: resource android:attr/lStar not found. Android build error AAPT: error: resource android:attr/lStar not found Dec 22, 2021
@gwl002 gwl002 changed the title Android build error AAPT: error: resource android:attr/lStar not found "Android build error AAPT: error: resource android:attr/lStar not found" Dec 22, 2021
@gwl002 gwl002 changed the title "Android build error AAPT: error: resource android:attr/lStar not found" "Android build error AAPT: error: resource android:attr%2flStar not found" Dec 23, 2021
@gwl002 gwl002 changed the title "Android build error AAPT: error: resource android:attr%2flStar not found" "Android build error AAPT: error: resource android:attr/lStar not found" Dec 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant