Failed to resolve: com.android.support:support-v4:23.0.0

前端 未结 9 728
日久生厌
日久生厌 2020-12-05 18:04

After update with the latest Android support library 23.1 i get this error

Failed to resolve: com.android.support:support-v4:23.0.0

9条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-05 18:54

    The support libraries are now available through Google's Maven repository.

    Step 1: Open the build.gradle file of your project.

    Step 2: Make sure that the repositories section includes a maven section with the "https://maven.google.com" url in it.

    allprojects {
        repositories {
            jcenter()
            maven { url 'https://maven.google.com' }
        }
    }
    

提交回复
热议问题