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
}
}
If you want to change the Build Tools version in your project, that is specified in project's build. gradle file (in the 'app' module). Open the file and either add or update the Build Tools version you want to use by adding/updating the following property in the 'android' section: android { buildToolsVersion "27.0.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With