Android Studio 플러그인 개발 시 버전 업데이트하면서 발생한 내용을 메모로 남긴다.
매번 호환되는 Android Studio 버전에 맞춰서 버전 업데이트를 진행했다. 이상하게도 Panda 버전부터 Android Studio 이미지를 가져오는 것이 실패했다.
// root build.gralde.kts
plugins {
...
alias(libs.plugins.intelliJPlatform) // org.jetbrains.intellij.platform 2.11.0 버전 사용
...
}
// 모듈 build.gradle.kts
dependencies {
intellijPlatform {
androidStudio("2025.3.2.6")
}
}
Could not determine the dependencies of task ':compileJava'.
> Could not resolve all files for configuration ':intellijPlatformDependency'.
> Could not find com.google.android.studio:android-studio:2025.3.2.6.
Searched in the following locations:
- https://repo.maven.apache.org/maven2/com/google/android/studio/android-studio/2025.3.2.6/android-studio-2025.3.2.6.pom
- https://redirector.gvt1.com/edgedl/android/studio/ide-zips/2025.3.2.6/android-studio-2025.3.2.6-https:/edgedl.me.gvt1.com/android/studio/install/2025.3.2.6/android-studio-panda2-mac_arm.dmg
- https://redirector.gvt1.com/edgedl/android/studio/install/2025.3.2.6/android-studio-2025.3.2.6-https:/edgedl.me.gvt1.com/android/studio/install/2025.3.2.6/android-studio-panda2-mac_arm.dmg
- https://cache-redirector.jetbrains.com/www.jetbrains.com/intellij-repository/releases/com/google/android/studio/android-studio/2025.3.2.6/android-studio-2025.3.2.6.pom
- https://cache-redirector.jetbrains.com/www.jetbrains.com/intellij-repository/snapshots/com/google/android/studio/android-studio/2025.3.2.6/android-studio-2025.3.2.6.pom
- https://cache-redirector.jetbrains.com/intellij-dependencies/com/google/android/studio/android-studio/2025.3.2.6/android-studio-2025.3.2.6.pom
- https://cache-redirector.jetbrains.com/plugins.jetbrains.com/maven/com/google/android/studio/android-studio/2025.3.2.6/android-studio-2025.3.2.6.pom
IntelliJ 기반 플러그인에 필요한 intellij-platform-gradle-plugin Github에서 해당 이유를 찾을 수 있었다.
verifyPlugin failed for Android Studio 이슈의 내용으로 최근 Android Studio의 아카이브 형식이 변경되었다고 한다.
panda와 같은 코드명을 URL 문자열에 포함https://developer.android.com/studio/archive 에서도 동일한 모습을 확인할 수 있다


해결법은 너무나도 간단하게 org.jetbrains.intellij.platform plugin을 2.12.0 버전으로 업데이트하면 된다.
기반 플러그인 측에서 수정되어서 해결되었다.
// root build.gralde.kts
plugins {
...
alias(libs.plugins.intelliJPlatform) // org.jetbrains.intellij.platform 2.12.0 버전 사용
...
}
Subscribe to this blog via RSS.