Skip to content

Does not support Build Tools revision 36.0.0 #1953

Description

@EduComparin

Checklist

  • I read the troubleshooting guide before raising this issue
  • I made sure that the issue I am raising doesn't already exist

Current bug behaviour

I'm updating the project dependencies so everything works with Build Tools revision 36.0.0 and newer versions of Gradle Klotin...

But it won't let me have only Build Tools revision 36.0.0.

Image

Expected behaviour

Accept Build Tools revision 35.0.0

Steps to reproduce

update the codes below in local files

Code sample

Code sample
Settings.gradle
        plugins {
            id 'dev.flutter.flutter-plugin-loader' version '1.0.0'
            id 'com.android.application' version '8.12.1' apply false
            id 'org.jetbrains.kotlin.android' version '2.2.0' apply false
            id 'com.google.gms.google-services' version '4.4.3' apply false
            //id 'com.google.firebase.crashlytics' version '2.9.9' apply false
        }

gradle-wrapper.properties
        distributionBase=GRADLE_USER_HOME
        distributionPath=wrapper/dists
        distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-all.zip
        zipStoreBase=GRADLE_USER_HOME
        zipStorePath=wrapper/dists
    

Android > App>   build.gradle  
        android {
        
          compileSdkVersion 36
          buildToolsVersion "36.0.0"
        
          if (project.android.hasProperty('namespace')) {
            namespace 'br.com.sysmo.s1.v2'
          }
        
          compileOptions {
            sourceCompatibility JavaVersion.VERSION_17
            targetCompatibility JavaVersion.VERSION_17
            coreLibraryDesugaringEnabled true
          }
        
          kotlinOptions { jvmTarget = "17" }
        
          dependencies {
            coreLibraryDesugaring "com.android.tools:desugar_jdk_libs:2.0.4"
          }
        
          compileSdk 36
        
          defaultConfig {
            applicationId 'br.com.teste.v2'
            minSdkVersion versaoMinimaManual
            targetSdk 36
            ndkVersion "28.2.13676358"
         
          }
        
          buildFeatures {
            buildConfig = true
          }

Affected platforms

Android

Platform details

No response

AudioPlayers Version

^6.5.0

Build mode

release

Audio Files/URLs/Sources

No response

Screenshots

No response

Logs

my relevant logs
Full Logs
my full logs or a link to a gist

Flutter doctor:

Output of: flutter doctor -v

Related issues / more information

No response

Working on PR

no way

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions