One or more plugins require a higher Android SDK version.
Fix this issue by adding the following to C:\Users\Administrator\Desktop\c-master\android\app\build.gradle:
android {
compileSdkVersion 32
...
}
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:checkReleaseAarMetadata'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
> One or more issues found when checking AAR metadata values:
Dependency 'androidx.webkit:webkit:1.5.0' requires 'compileSdkVersion' to be set to 32 or higher.
Compilation target for module ':app' is 'android-31'
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 5s
Running Gradle task 'assembleRelease'... 11.2s
Gradle task assembleRelease failed with exit code 1 flutter sdk versiyon hatası alıyorum
3
●84
- 27-11-2024, 18:34:09Kimlik doğrulama veya yönetimden onay bekliyor.webview yapıyorum build apk oluşturmak istediğimde hata almaktayım
- 27-11-2024, 22:12:55Yönetici onayı bekliyorbuild.grandle dosyasının içeriği;TheExpert adlı üyeden alıntı: mesajı görüntüle
buildscript { ext.kotlin_version = '1.7.10' repositories { google() mavenCentral() } dependencies { classpath 'com.android.tools.build:gradle:7.1.3' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" } } allprojects { repositories { google() mavenCentral() } } rootProject.buildDir = '../build' subprojects { project.buildDir = "${rootProject.buildDir}/${project.name}" } subprojects { project.evaluationDependsOn(':app') } tasks.register("clean", Delete) { delete rootProject.buildDir }