• 27-11-2024, 18:34:09
    #1
    Kimlik doğrulama veya yönetimden onay bekliyor.
    webview yapıyorum build apk oluşturmak istediğimde hata almaktayım

    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
  • 27-11-2024, 18:37:11
    #2
    build.gradle dosyası içinde compileSdkVersion versiyonu 32 olarak ayarlayın.
  • 27-11-2024, 22:12:55
    #3
    Yönetici onayı bekliyor
    TheExpert adlı üyeden alıntı: mesajı görüntüle
    build.gradle dosyası içinde compileSdkVersion versiyonu 32 olarak ayarlayın.
    build.grandle dosyasının içeriği;

    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
    }
  • 27-11-2024, 22:47:51
    #4
    android/app/build.gradle