Android编译报错
AAPT: error: resource android:attr/lStar not found.
解决方法,在 App的build.gradle 的 dependencies 节点中添加如下信息
configurations.all {
resolutionStrategy.eachDependency {
DependencyResolveDetails details ->
def requested = details.requested
if (requested.group == "androidx.appcompat") {
if (requested.name == "appcompat") {
details.useVersion "1.3.1"
}
}
}
}