Ошибка ': expo-permissions: debugCompileClasspath': recyclerview-1.0.0.jar не найдена - PullRequest
0 голосов
/ 25 апреля 2020

У меня проблемы с react-native run android. Вот мой build.gradle:

// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
    ext {
        buildToolsVersion = "28.0.3"
        minSdkVersion = 21
        compileSdkVersion = 28
        targetSdkVersion = 28
    }
    repositories {
        google()
        jcenter()
        mavenCentral()        
        mavenLocal()
        maven {
            url "https://dl.google.com/dl/android/maven2"
            name 'Google'
        }
         maven {
            url "D:/maven"
            name 'LocalRepo'
        }
        maven {
            url "https://mvnrepository.com/artifact/com.android.tools.lint/lint-gradle-ap"
            name 'lint'
        }

    }
    dependencies {
        classpath("com.android.tools.build:gradle:3.5.3")
        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle fSiles
    }
}

allprojects {
    repositories {
        google()
        jcenter()
        mavenCentral()
        maven {
            url "https://mvnrepository.com/"
            name 'lint'
        }

        mavenLocal()
         maven {
            url "D:/maven"
            name 'LocalRepo'
        }

    }

}

Я получаю эту ошибку:

* What went wrong:
Execution failed for task ':expo-permissions:compileDebugKotlin'.
> Could not resolve all artifacts for configuration ':expo-permissions:debugCompileClasspath'.
   > Could not find recyclerview-1.0.0.jar (androidx.recyclerview:recyclerview:1.0.0).  
     Searched in the following locations:   
         https://dl.google.com/dl/android/maven2/androidx/recyclerview/recyclerview/1.0.0/recyclerview-1.0.0.jar

Указанный URL-адрес возвращает 404. Я пробовал его с тремя разными VPN и четырьмя разными прокси , Я не знаю, что мне делать. Это даже не смотрит мои другие репозитории. И я не могу найти след этого файла на inte rnet. Я нашел его в репозитории Github, но сейчас не знаю, где его поставить.

Что может быть не так? У меня последняя версия выставки, реагировать и реагировать на родную.

...