Android Studio keeps refusing to resolve

2247    1 year ago

I have referred to this problem Failed to resolve: appcompat-v7 android studio 3.2.1 but it does not resolve my issue.

I keep getting the error: ERROR: Failed to resolve: in android Studio every time I try to refresh Gradle.

Heres my build.gradle

apply plugin: ''

android {
    compileSdkVersion 29
    buildToolsVersion "29.0.1"
    defaultConfig {
        applicationId ""
        minSdkVersion 14
        targetSdkVersion 29
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner ""
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), ''

dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    implementation ''
    implementation ''
    testImplementation 'junit:junit:4.12'
    androidTestImplementation ''
    androidTestImplementation ''

How can I fix it and also is there a website where all the version of all the android modules are listed? I could not find anywhere myself.

Answers { 1 }
1 year ago

There is no support library for 29 you have to use androidx support library packages for new developments

from the Docs

This is the stable release of Support Library 28.0.0 and is suitable for use in production. This will be the last feature release under the packaging, and developers are encouraged to migrate to AndroidX.