11

I updated Android Studio to 4.2.1 and delete jcentor.I had a warning like this when build the project.I don't understand the means of these URL and how to fix it

Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01

Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01

build.gradle

buildscript {
ext.kotlin_version = "1.5.0"
repositories {
    google()
    mavenCentral()
}
dependencies {
    classpath "com.android.tools.build:gradle:4.2.1"
    classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"

    // NOTE: Do not place your application dependencies here; they belong
    // in the individual module build.gradle files
}

}

user15997121
  • 111
  • 1
  • 3

1 Answers1

3

I had this same problem when importing an old project, then updating my dependencies. I solved it by updating my buildToolsVersion from 30.0.2 to 30.0.3 Know that this is old, but maybe it will save someone a little headache.