-
Notifications
You must be signed in to change notification settings - Fork 87
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
RDART-1087: Update compileSdkVersion to fix android:attr/lStar not found #1797
Conversation
Is any update here ? |
For those, who are looking for quick solution: Add the following to the root-level android/build.gradle file:
Make flutter clean |
Realm welcomes all contributions! The only requirement we have is that, like many other projects, we need to have a Contributor License Agreement (CLA) in place before we can accept any external code. Our own CLA is a modified version of the Apache Software Foundation’s CLA. Our records show that CLA has not been signed by @scris. Please submit your CLA electronically using our Google form so we can accept your submissions. After signing the CLA you can recheck this PR with a |
@cla-bot check |
The cla-bot has been summoned, and re-checked this pull request! |
Can you approve the workflows? Thank you. @nirinchev |
i have change my package realm to your github url, but still not working. i have issue and error like this: Unhandled exception: FAILURE: Build failed with an exception.
BUILD FAILED in 22s |
I think "OS Error: No such file or directory" is probably fault on your computer's side, and |
Thank you for the configuration @Den-creatorThe name of the project I specified used version 31 most, and it was finally compiled.(Specify that the mob library uses 31 SDK)buildscript {
ext.kotlin_version = '1.8.0'
repositories {
google()
mavenCentral()
maven {
url "https://mvn.mob.com/android"
}
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "com.mob.sdk:MobSDK2:+"
classpath 'com.google.gms:google-services:4.3.14'
}
}
allprojects {
repositories {
google()
mavenCentral()
maven { url "https://mvn.mob.com/android" }
}
}
rootProject.buildDir = '../build'
subprojects {
project.buildDir = "${rootProject.buildDir}/${project.name}"
}
subprojects {
afterEvaluate { project ->
if (project.hasProperty("android")) {
project.android {
// Specify that the mob library uses 31 SDK
if (project.name.contains("mob")) {
compileSdkVersion 31
buildToolsVersion "31.0.0"
} else {
compileSdkVersion 34
buildToolsVersion "34.0.0"
}
}
}
}
}
subprojects {
project.evaluationDependsOn(':app')
}
tasks.register("clean", Delete) {
delete rootProject.buildDir
}
|
Pull request #1773 exists but was not merged for more than a month due to some configuration mistakes concerned by cla-bot, making #1774 unsolved for long.
This pull request includes exactly the same things of what #1773 included, aiming to speed up the merging of this important update, so that the "android:attr/lStar not found" error can be fixed when using Flutter SDK 3.24.