달력

10

« 2020/10 »

  •  
  •  
  •  
  •  
  • 1
  • 2
  • 3


 

에러메시지

안드로이드스튜디오 업에디트 기존 프로젝트를 오픈할 경우 SDK Build Tools 버전이 맞지 않아 아래와 같은 오류메시지가 발생할 있습니다.

 

The specified Android SDK Build Tools version (xx.x.x) is ignored, as it is below the minimum supported version (xx.x.x) for Android Gradle Plugin x.x.x.  Android SDK Build Tools xx.x.x will be used.

 

The specified Android SDK Build Tools version (23.0.2) is ignored, 

as it is below the minimum supported version (27.0.3) for Android Gradle Plugin 3.1.4.

Android SDK Build Tools 27.0.3 will be used.

To suppress this warning, remove "buildToolsVersion '23.0.2'" from your build.gradle file, 

as each version of the Android Gradle Plugin now has a default version of the build tools.

Update Build Tools version and sync project

Open File

 

The specified Android SDK Build Tools version (26.0.1) is ignored, as it is below the minimum supported version (28.0.2) for Android Gradle Plugin 3.2.0.


Android SDK Build Tools 28.0.2 will be used.

To suppress this warning, remove "buildToolsVersion '26.0.1'" from your build.gradle file, 

as each version of the Android Gradle Plugin now has a default version of the build tools.

Update Build Tools version and sync project

Open File

 


 


 

 

 

 

 

해결방법

[Update Build Tools version and sync project]버튼을 클릭하면 모듈 그래들에 있는 buildToolsVersion이 변경되면서 해결됩니다.

[Update Build Tools version and sync project]


 


 


 

해결방법 2

 

WARNING: The specified Android SDK Build Tools version (28.0.2) is ignored, as it is below the minimum supported version (28.0.3) for Android Gradle Plugin 3.3.0.

Android SDK Build Tools 28.0.3 will be used.

To suppress this warning, remove "buildToolsVersion '28.0.2'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.

Remove Build Tools version and sync project

Affected Modules: app


 

 

 

[Remove Build Tools version and sync project]


 

 

[Do Refactor]


 

 

or

build.gradle (Module: app)파일에서 buildToolsVersion '28.0.2' 직접 삭제해도 됩니다.

 

android {

    compileSdkVersion 26

    buildToolsVersion '28.0.2'

 

    defaultConfig {

        applicationId "com.tistory.codedragon.a67intent"

        minSdkVersion 15

        targetSdkVersion 26

        versionCode 1

        versionName "1.0"

    }

    buildTypes {

        release {

            minifyEnabled false

            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'

        }

    }

}

 

 

 

 


반응형
Posted by codedragon codedragon

댓글을 달아 주세요