小编dan*_*an0的帖子

找不到 androidx.appcompat:appcompat:1.0.2

我要转移到 androidX 但我收到:

Could not find androidx.appcompat:appcompat:1.0.2.
Required by:
    project :app > com.facebook.react:react-native:0.60.4 
Run Code Online (Sandbox Code Playgroud)

我的项目 gradle.build:

buildscript {
    repositories {
        maven { url 'https://maven.google.com' }
        jcenter()
    }
    dependencies {
       ...
    }
}


allprojects {
    repositories {
        mavenLocal()
        jcenter()
        maven {
            url "https://jitpack.io"
        }
        maven {
            // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
            url "$rootDir/../node_modules/react-native/android"
        }
    }
}
Run Code Online (Sandbox Code Playgroud)

看来我错过了另一个来源。有什么建议么?

android react-native androidx

6
推荐指数
1
解决办法
6856
查看次数

标签 统计

android ×1

androidx ×1

react-native ×1