小编Gee*_*Bee的帖子

多个项目react-native android构建错误

以下是两个不同项目的 android/build.gradle 文件内容。

项目1

    ext {
        buildToolsVersion = "29.0.3"
        minSdkVersion = 21
        compileSdkVersion = 29
        targetSdkVersion = 30
        supportLibVersion = "29.0.0"
        googlePlayServicesVersion = "16.0.0"
        firebaseVersion = "17.3.4"
        firebaseMessagingVersion = "20.2.1"
        firebaseBomVersion="20.2.1"
    }
    repositories {
        google()
        jcenter()
    }
    dependencies {
        classpath("com.android.tools.build:gradle:4.0.1")
        classpath ("com.google.gms:google-services:4.2.0")
        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        mavenLocal()
        maven {
            // All of React Native (JS, Obj-C sources, Android binaries) is …
Run Code Online (Sandbox Code Playgroud)

android facebook react-native

2
推荐指数
1
解决办法
2196
查看次数

标签 统计

android ×1

facebook ×1

react-native ×1