[英]ERROR: Failed to resolve: android.support:support.v7:29.0.2
I am new to Android studio.我是 Android 工作室的新手。 I am facing a problem with the coding part.
我正面临编码部分的问题。 While running the code it shows an error.
运行代码时显示错误。 Thw gradle part is shown below
Thw gradle 部分如下所示
apply plugin: 'com.android.application'
android {
compileSdkVersion 29
buildToolsVersion "29.0.2"
defaultConfig {
applicationId "com.example.fallprediction"
minSdkVersion 14
targetSdkVersion 29
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
testImplementation 'junit:junit:4.13'
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
implementation 'android.support:support.v7:29.0.2'
}
The error is ERROR: Failed to resolve: android.support:support.v7:29.0.2 Show in Project Structure dialog Affected Modules: app错误是 ERROR: Failed to resolve: android.support:support.v7:29.0.2 Show in Project Structure dialog Affected Modules: app
Please help me to resolve this error请帮我解决这个错误
将其转换为 androidx 或删除此依赖项实现 'android.support:support.v7:29.0.2
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.