프로그래밍/안드로이드+코틀린
[Android Studio/안드로이드 스튜디오] AGP에러 임시 해결책. The project is using an incompatible version (AGP 8.6.1) of the Android Gradle plugin. Latest supported version is AGP 8.5.2
낚시동생
2024. 9. 24. 19:19
728x90
반응형
안드로이드 스튜디오로 개발 중 git 또는 다른 경로를 통해서 새로운 프로젝트를 받았을 때 위와 같은 에러가 발생되는 경우가 있다.
The project is using an incompatible version (AGP 8.6.1) of the Android Gradle plugin. Latest supported version is AGP 8.5.2
이 때 굳이 변경 하지말고 나는 내 환경에서 쓰고 싶은데? 이럴때는 일단 build.gradle을 변경하자
"사용자 환경에 따라서 다르니 참고만 할 것!"
1. build.gradle open
변경 전
plugins {
id 'com.android.application' version '8.6.1' apply false
id 'com.android.library' version '8.6.1' apply false
}
변경 후
plugins {
id 'com.android.application' version '8.5.2' apply false
id 'com.android.library' version '8.5.2' apply false
}
그 다음 다시 sync를 하면 정상적으로 동작 된다.
728x90