Android Studio - Could not find intellij-core.jar

后端 未结 12 920
小蘑菇
小蘑菇 2020-12-03 00:40

I am using android studio 3.1.4.

Error:Could not find intellij-core.jar (com.android.tools.external.com-intellij:intellij-core:26.0.1). Searched in the following loc

12条回答
  •  自闭症患者
    2020-12-03 01:24

    Adding google() to the build.gradle files uses this URL https://dl.google.com/dl/android/maven2/ which returns 404 at the moment.

    (source: https://docs.gradle.org/current/javadoc/org/gradle/api/artifacts/dsl/RepositoryHandler.html#google--)

    At the moment, the working URL is https://dl.google.com/dl/android/maven2/index.html You can reach it by replacing google() with this line

    maven { url 'https://maven.google.com' }

    in your build.gradle files.

提交回复
热议问题