Android Studio 4.2로 업데이트 후 Could not find org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.0-release-764 오류 > 개발

본문 바로가기
사이트 내 전체검색

개발

Android Studio 4.2로 업데이트 후 Could not find org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.0-release-764 오류

페이지 정보

profile_image
작성자 관리자 (112.♡.173.204)
댓글 0건 조회 7,413회 작성일 21-05-06 19:02

본문

Android Studio 4.2로 업데이트 후, 프로젝트 생성시에 아래와 같은 오류가 난다.

Could not find org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.0-release-764



## build.gradle

build.gradle 파일 안에 설정되어 있는 ext.kotlin_version 1.5.0-release-764 이 서버에 없는 듯 하다.


## 수정하는 방법으로는

1. classpath 에 버전을 직접 지정해 주는 방법
```
dependencies {
  //classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
  classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.0"
}
```

2. ext.kotlin_version 을 변경해 주는 방법
```
buildscript {
ext.kotlin_version = "1.5.0"
repositories {
    google()
    mavenCentral()
}
```

근데, ext.kotlin_version 이 classpath 에서만 사용되는 것이 아닌 모양이다. 다른 곳에서도 에러가 난다.
위 예에서, 1번 말고, 2번 처럼 처리하자.


## 참고
https://stackoverflow.com/questions/67400029/cant-create-new-kotlin-project-after-updating-to-android-studio-4-2

추천0

댓글목록

등록된 댓글이 없습니다.

Total 389건 7 페이지
  • RSS
개발 목록
번호 제목 조회 추천 날짜
2693084006-29
2683703006-29
2672304006-22
2662930006-22
2652848006-16
2642951006-14
2634739006-10
2621923006-07
2611842005-30
2602007005-30
2594095005-28
2582448005-28
2571951005-16
2565298005-10
2552562005-07
2543953004-07
2532423003-28
2524485003-18
2512419003-15
2502556003-02

검색


사이트 정보

Copyright © Baragi.Net. All rights reserved.