./gradlew assembleRelease 打包报错

来源:14-6 打包发布React Native项目【收获果实】

田小龙

2020-06-01

FAILURE: Build failed with an exception.

  • What went wrong:
    Could not determine the dependencies of task ‘:app:lintVitalRelease’.

Could not resolve all artifacts for configuration ‘:app:releaseStagingCompileClasspath’.
Could not resolve project :react-native-community_datetimepicker.
Required by:
project :app
Unable to find a matching variant of project :react-native-community_datetimepicker:
- Variant ‘debugApiElements’ capability my_app:react-native-community_datetimepicker:unspecified:
- Incompatible attribute:
- Required com.android.build.api.attributes.BuildTypeAttr ‘releaseStaging’ and found incompatible value ‘debug’.
- Other attributes:
- Found com.android.build.api.attributes.VariantAttr ‘debug’ but wasn’t required.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr ‘Aar’ and found compatible value ‘Aar’.
- Required org.gradle.usage ‘java-api’ and found compatible value ‘java-api’.
- Variant ‘debugRuntimeElements’ capability my_app:react-native-community_datetimepicker:unspecified:
- Incompatible attribute:
- Required com.android.build.api.attributes.BuildTypeAttr ‘releaseStaging’ and found incompatible value ‘debug’.
- Other attributes:
- Found com.android.build.api.attributes.VariantAttr ‘debug’ but wasn’t required.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr ‘Aar’ and found compatible value ‘Aar’.
- Required org.gradle.usage ‘java-api’ and found compatible value ‘java-runtime’.
- Variant ‘releaseApiElements’ capability my_app:react-native-community_datetimepicker:unspecified:
- Incompatible attribute:
- Required com.android.build.api.attributes.BuildTypeAttr ‘releaseStaging’ and found incompatible value ‘release’.
- Other attributes:
- Found com.android.build.api.attributes.VariantAttr ‘release’ but wasn’t required.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr ‘Aar’ and found compatible value ‘Aar’.
- Required org.gradle.usage ‘java-api’ and found compatible value ‘java-api’.
- Variant ‘releaseRuntimeElements’ capability my_app:react-native-community_datetimepicker:unspecified:
- Incompatible attribute:
- Required com.android.build.api.attributes.BuildTypeAttr ‘releaseStaging’ and found incompatible value ‘release’.
- Other attributes:
- Found com.android.build.api.attributes.VariantAttr ‘release’ but wasn’t required.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr ‘Aar’ and found compatible value ‘Aar’.
- Required org.gradle.usage ‘java-api’ and found compatible value ‘java-runtime’.
Could not resolve project :react-native-community_masked-view.
Required by:
project :app
Unable to find a matching variant of project :react-native-community_masked-view:
- Variant ‘debugApiElements’ capability my_app:react-native-community_masked-view:unspecified:
- Incompatible attribute:
- Required com.android.build.api.attributes.BuildTypeAttr ‘releaseStaging’ and found incompatible value ‘debug’.
- Other attributes:
- Found com.android.build.api.attributes.VariantAttr ‘debug’ but wasn’t required.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr ‘Aar’ and found compatible value ‘Aar’.
- Required org.gradle.usage ‘java-api’ and found compatible value ‘java-api’.
- Variant ‘debugRuntimeElements’ capability my_app:react-native-community_masked-view:unspecified:
- Incompatible attribute:
- Required com.android.build.api.attributes.BuildTypeAttr ‘releaseStaging’ and found incompatible value ‘debug’.
- Other attributes:
- Found com.android.build.api.attributes.VariantAttr ‘debug’ but wasn’t required.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr ‘Aar’ and found compatible value ‘Aar’.
- Required org.gradle.usage ‘java-api’ and found compatible value ‘java-runtime’.
- Variant ‘releaseApiElements’ capability my_app:react-native-community_masked-view:unspecified:
- Incompatible attribute:
- Required com.android.build.api.attributes.BuildTypeAttr ‘releaseStaging’ and found incompatible value ‘release’.
- Other attributes:
- Found com.android.build.api.attributes.VariantAttr ‘release’ but wasn’t required.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr ‘Aar’ and found compatible value ‘Aar’.
- Required org.gradle.usage ‘java-api’ and found compatible value ‘java-api’.
- Variant ‘releaseRuntimeElements’ capability my_app:react-native-community_masked-view:unspecified:
- Incompatible attribute:
- Required com.android.build.api.attributes.BuildTypeAttr ‘releaseStaging’ and found incompatible value ‘release’.
- Other attributes:
- Found com.android.build.api.attributes.VariantAttr ‘release’ but wasn’t required.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr ‘Aar’ and found compatible value ‘Aar’.
- Required org.gradle.usage ‘java-api’ and found compatible value ‘java-runtime’.
Could not resolve project :react-native-agora.
Required by:
project :app
Unable to find a matching variant of project :react-native-agora:
- Variant ‘debugApiElements’ capability my_app:react-native-agora:unspecified:
- Incompatible attribute:
- Required com.android.build.api.attributes.BuildTypeAttr ‘releaseStaging’ and found incompatible value ‘debug’.
- Other attributes:
- Found com.android.build.api.attributes.VariantAttr ‘debug’ but wasn’t required.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr ‘Aar’ and found compatible value ‘Aar’.
- Required org.gradle.usage ‘java-api’ and found compatible value ‘java-api’.
- Variant ‘debugRuntimeElements’ capability my_app:react-native-agora:unspecified:
- Incompatible attribute:
- Required com.android.build.api.attributes.BuildTypeAttr ‘releaseStaging’ and found incompatible value ‘debug’.
- Other attributes:
- Found com.android.build.api.attributes.VariantAttr ‘debug’ but wasn’t required.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr ‘Aar’ and found compatible value ‘Aar’.
- Required org.gradle.usage ‘java-api’ and found compatible value ‘java-runtime’.
- Variant ‘releaseApiElements’ capability my_app:react-native-agora:unspecified:
- Incompatible attribute:
- Required com.android.build.api.attributes.BuildTypeAttr ‘releaseStaging’ and found incompatible value ‘release’.
- Other attributes:
- Found com.android.build.api.attributes.VariantAttr ‘release’ but wasn’t required.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr ‘Aar’ and found compatible value ‘Aar’.
- Required org.gradle.usage ‘java-api’ and found compatible value ‘java-api’.
- Variant ‘releaseRuntimeElements’ capability my_app:react-native-agora:unspecified:
- Incompatible attribute:
- Required com.android.build.api.attributes.BuildTypeAttr ‘releaseStaging’ and found incompatible value ‘release’.
- Other attributes:
- Found com.android.build.api.attributes.VariantAttr ‘release’ but wasn’t required.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr ‘Aar’ and found compatible value ‘Aar’.
- Required org.gradle.usage ‘java-api’ and found compatible value ‘java-runtime’.
Could not resolve project :react-native-code-push.
Required by:
project :app
Unable to find a matching variant of project :react-native-code-push:
- Variant ‘debugApiElements’ capability my_app:react-native-code-push:unspecified:
- Incompatible attribute:
- Required com.android.build.api.attributes.BuildTypeAttr ‘releaseStaging’ and found incompatible value ‘debug’.
- Other attributes:
- Found com.android.build.api.attributes.VariantAttr ‘debug’ but wasn’t required.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr ‘Aar’ and found compatible value ‘Aar’.
- Required org.gradle.usage ‘java-api’ and found compatible value ‘java-api’.
- Variant ‘debugRuntimeElements’ capability my_app:react-native-code-push:unspecified:
- Incompatible attribute:
- Required com.android.build.api.attributes.BuildTypeAttr ‘releaseStaging’ and found incompatible value ‘debug’.
- Other attributes:
- Found com.android.build.api.attributes.VariantAttr ‘debug’ but wasn’t required.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr ‘Aar’ and found compatible value ‘Aar’.
- Required org.gradle.usage ‘java-api’ and found compatible value ‘java-runtime’.
- Variant ‘releaseApiElements’ capability my_app:react-native-code-push:unspecified:
- Incompatible attribute:
- Required com.android.build.api.attributes.BuildTypeAttr ‘releaseStaging’ and found incompatible value ‘release’.
- Other attributes:
- Found com.android.build.api.attributes.VariantAttr ‘release’ but wasn’t required.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr ‘Aar’ and found compatible value ‘Aar’.
- Required org.gradle.usage ‘java-api’ and found compatible value ‘java-api’.
- Variant ‘releaseRuntimeElements’ capability my_app:react-native-code-push:unspecified:
- Incompatible attribute:
- Required com.android.build.api.attributes.BuildTypeAttr ‘releaseStaging’ and found incompatible value ‘release’.
- Other attributes:
- Found com.android.build.api.attributes.VariantAttr ‘release’ but wasn’t required.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr ‘Aar’ and found compatible value ‘Aar’.
- Required org.gradle.usage ‘java-api’ and found compatible value ‘java-runtime’.
Could not resolve project :react-native-safe-area-context.
Required by:
project :app
Unable to find a matching variant of project :react-native-safe-area-context:
- Variant ‘debugApiElements’ capability my_app:react-native-safe-area-context:unspecified:
- Incompatible attribute:
- Required com.android.build.api.attributes.BuildTypeAttr ‘releaseStaging’ and found incompatible value ‘debug’.
- Other attributes:
- Found com.android.build.api.attributes.VariantAttr ‘debug’ but wasn’t required.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr ‘Aar’ and found compatible value ‘Aar’.
- Required org.gradle.usage ‘java-api’ and found compatible value ‘java-api’.
- Variant ‘debugRuntimeElements’ capability my_app:react-native-safe-area-context:unspecified:
- Incompatible attribute:
- Required com.android.build.api.attributes.BuildTypeAttr ‘releaseStaging’ and found incompatible value ‘debug’.
- Other attributes:
- Found com.android.build.api.attributes.VariantAttr ‘debug’ but wasn’t required.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr ‘Aar’ and found compatible value ‘Aar’.
- Required org.gradle.usage ‘java-api’ and found compatible value ‘java-runtime’.
- Variant ‘releaseApiElements’ capability my_app:react-native-safe-area-context:unspecified:
- Incompatible attribute:
- Required com.android.build.api.attributes.BuildTypeAttr ‘releaseStaging’ and found incompatible value ‘release’.
- Other attributes:
- Found com.android.build.api.attributes.VariantAttr ‘release’ but wasn’t required.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr ‘Aar’ and found compatible value ‘Aar’.
- Required org.gradle.usage ‘java-api’ and found compatible value ‘java-api’.
- Variant ‘releaseRuntimeElements’ capability my_app:react-native-safe-area-context:unspecified:
- Incompatible attribute:
- Required com.android.build.api.attributes.BuildTypeAttr ‘releaseStaging’ and found incompatible value ‘release’.
- Other attributes:
- Found com.android.build.api.attributes.VariantAttr ‘release’ but wasn’t required.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr ‘Aar’ and found compatible value ‘Aar’.
- Required org.gradle.usage ‘java-api’ and found compatible value ‘java-runtime’.
Could not resolve project :react-native-screens.
Required by:
project :app
Unable to find a matching variant of project :react-native-screens:
- Variant ‘debugApiElements’ capability com.swmansion.rnscreens:react-native-screens:unspecified:
- Incompatible attribute:
- Required com.android.build.api.attributes.BuildTypeAttr ‘releaseStaging’ and found incompatible value ‘debug’.
- Other attributes:
- Found com.android.build.api.attributes.VariantAttr ‘debug’ but wasn’t required.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr ‘Aar’ and found compatible value ‘Aar’.
- Required org.gradle.usage ‘java-api’ and found compatible value ‘java-api’.
- Variant ‘debugRuntimeElements’ capability com.swmansion.rnscreens:react-native-screens:unspecified:
- Incompatible attribute:
- Required com.android.build.api.attributes.BuildTypeAttr ‘releaseStaging’ and found incompatible value ‘debug’.
- Other attributes:
- Found com.android.build.api.attributes.VariantAttr ‘debug’ but wasn’t required.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr ‘Aar’ and found compatible value ‘Aar’.
- Required org.gradle.usage ‘java-api’ and found compatible value ‘java-runtime’.
- Variant ‘releaseApiElements’ capability com.swmansion.rnscreens:react-native-screens:unspecified:
- Incompatible attribute:
- Required com.android.build.api.attributes.BuildTypeAttr ‘releaseStaging’ and found incompatible value ‘release’.
- Other attributes:
- Found com.android.build.api.attributes.VariantAttr ‘release’ but wasn’t required.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr ‘Aar’ and found compatible value ‘Aar’.
- Required org.gradle.usage ‘java-api’ and found compatible value ‘java-api’.
- Variant ‘releaseRuntimeElements’ capability com.swmansion.rnscreens:react-native-screens:unspecified:
- Incompatible attribute:
- Required com.android.build.api.attributes.BuildTypeAttr ‘releaseStaging’ and found incompatible value ‘release’.
- Other attributes:
- Found com.android.build.api.attributes.VariantAttr ‘release’ but wasn’t required.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr ‘Aar’ and found compatible value ‘Aar’.
- Required org.gradle.usage ‘java-api’ and found compatible value ‘java-runtime’.
Could not resolve project :react-native-vector-icons.
Required by:
project :app
Unable to find a matching variant of project :react-native-vector-icons:
- Variant ‘debugApiElements’ capability my_app:react-native-vector-icons:unspecified:
- Incompatible attribute:
- Required com.android.build.api.attributes.BuildTypeAttr ‘releaseStaging’ and found incompatible value ‘debug’.
- Other attributes:
- Found com.android.build.api.attributes.VariantAttr ‘debug’ but wasn’t required.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr ‘Aar’ and found compatible value ‘Aar’.
- Required org.gradle.usage ‘java-api’ and found compatible value ‘java-api’.
- Variant ‘debugRuntimeElements’ capability my_app:react-native-vector-icons:unspecified:
- Incompatible attribute:
- Required com.android.build.api.attributes.BuildTypeAttr ‘releaseStaging’ and found incompatible value ‘debug’.
- Other attributes:
- Found com.android.build.api.attributes.VariantAttr ‘debug’ but wasn’t required.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr ‘Aar’ and found compatible value ‘Aar’.
- Required org.gradle.usage ‘java-api’ and found compatible value ‘java-runtime’.
- Variant ‘releaseApiElements’ capability my_app:react-native-vector-icons:unspecified:
- Incompatible attribute:
- Required com.android.build.api.attributes.BuildTypeAttr ‘releaseStaging’ and found incompatible value ‘release’.
- Other attributes:
- Found com.android.build.api.attributes.VariantAttr ‘release’ but wasn’t required.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr ‘Aar’ and found compatible value ‘Aar’.
- Required org.gradle.usage ‘java-api’ and found compatible value ‘java-api’.
- Variant ‘releaseRuntimeElements’ capability my_app:react-native-vector-icons:unspecified:
- Incompatible attribute:
- Required com.android.build.api.attributes.BuildTypeAttr ‘releaseStaging’ and found incompatible value ‘release’.
- Other attributes:
- Found com.android.build.api.attributes.VariantAttr ‘release’ but wasn’t required.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr ‘Aar’ and found compatible value ‘Aar’.
- Required org.gradle.usage ‘java-api’ and found compatible value ‘java-runtime’.
Could not resolve project :react-native-video.
Required by:
project :app
Unable to find a matching variant of project :react-native-video:
- Variant ‘debugApiElements’ capability my_app:react-native-video:unspecified:
- Incompatible attribute:
- Required com.android.build.api.attributes.BuildTypeAttr ‘releaseStaging’ and found incompatible value ‘debug’.
- Other attributes:
- Found com.android.build.api.attributes.VariantAttr ‘debug’ but wasn’t required.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr ‘Aar’ and found compatible value ‘Aar’.
- Required org.gradle.usage ‘java-api’ and found compatible value ‘java-api’.
- Variant ‘debugRuntimeElements’ capability my_app:react-native-video:unspecified:
- Incompatible attribute:
- Required com.android.build.api.attributes.BuildTypeAttr ‘releaseStaging’ and found incompatible value ‘debug’.
- Other attributes:
- Found com.android.build.api.attributes.VariantAttr ‘debug’ but wasn’t required.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr ‘Aar’ and found compatible value ‘Aar’.
- Required org.gradle.usage ‘java-api’ and found compatible value ‘java-runtime’.
- Variant ‘releaseApiElements’ capability my_app:react-native-video:unspecified:
- Incompatible attribute:
- Required com.android.build.api.attributes.BuildTypeAttr ‘releaseStaging’ and found incompatible value ‘release’.
- Other attributes:
- Found com.android.build.api.attributes.VariantAttr ‘release’ but wasn’t required.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr ‘Aar’ and found compatible value ‘Aar’.
- Required org.gradle.usage ‘java-api’ and found compatible value ‘java-api’.
- Variant ‘releaseRuntimeElements’ capability my_app:react-native-video:unspecified:
- Incompatible attribute:
- Required com.android.build.api.attributes.BuildTypeAttr ‘releaseStaging’ and found incompatible value ‘release’.
- Other attributes:
- Found com.android.build.api.attributes.VariantAttr ‘release’ but wasn’t required.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr ‘Aar’ and found compatible value ‘Aar’.
- Required org.gradle.usage ‘java-api’ and found compatible value ‘java-runtime’.
Could not resolve project :react-native-gesture-handler.
Required by:
project :app
Unable to find a matching variant of project :react-native-gesture-handler:
- Variant ‘debugApiElements’ capability my_app:react-native-gesture-handler:unspecified:
- Incompatible attribute:
- Required com.android.build.api.attributes.BuildTypeAttr ‘releaseStaging’ and found incompatible value ‘debug’.
- Other attributes:
- Found com.android.build.api.attributes.VariantAttr ‘debug’ but wasn’t required.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr ‘Aar’ and found compatible value ‘Aar’.
- Required org.gradle.usage ‘java-api’ and found compatible value ‘java-api’.
- Variant ‘debugRuntimeElements’ capability my_app:react-native-gesture-handler:unspecified:
- Incompatible attribute:
- Required com.android.build.api.attributes.BuildTypeAttr ‘releaseStaging’ and found incompatible value ‘debug’.
- Other attributes:
- Found com.android.build.api.attributes.VariantAttr ‘debug’ but wasn’t required.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr ‘Aar’ and found compatible value ‘Aar’.
- Required org.gradle.usage ‘java-api’ and found compatible value ‘java-runtime’.
- Variant ‘releaseApiElements’ capability my_app:react-native-gesture-handler:unspecified:
- Incompatible attribute:
- Required com.android.build.api.attributes.BuildTypeAttr ‘releaseStaging’ and found incompatible value ‘release’.
- Other attributes:
- Found com.android.build.api.attributes.VariantAttr ‘release’ but wasn’t required.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr ‘Aar’ and found compatible value ‘Aar’.
- Required org.gradle.usage ‘java-api’ and found compatible value ‘java-api’.
- Variant ‘releaseRuntimeElements’ capability my_app:react-native-gesture-handler:unspecified:
- Incompatible attribute:
- Required com.android.build.api.attributes.BuildTypeAttr ‘releaseStaging’ and found incompatible value ‘release’.
- Other attributes:
- Found com.android.build.api.attributes.VariantAttr ‘release’ but wasn’t required.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr ‘Aar’ and found compatible value ‘Aar’.
- Required org.gradle.usage ‘java-api’ and found compatible value ‘java-runtime’.
Could not resolve project :react-native-reanimated.
Required by:
project :app
Unable to find a matching variant of project :react-native-reanimated:
- Variant ‘debugApiElements’ capability com.swmansion.reanimated:react-native-reanimated:unspecified:
- Incompatible attribute:
- Required com.android.build.api.attributes.BuildTypeAttr ‘releaseStaging’ and found incompatible value ‘debug’.
- Other attributes:
- Found com.android.build.api.attributes.VariantAttr ‘debug’ but wasn’t required.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr ‘Aar’ and found compatible value ‘Aar’.
- Required org.gradle.usage ‘java-api’ and found compatible value ‘java-api’.
- Variant ‘debugRuntimeElements’ capability com.swmansion.reanimated:react-native-reanimated:unspecified:
- Incompatible attribute:
- Required com.android.build.api.attributes.BuildTypeAttr ‘releaseStaging’ and found incompatible value ‘debug’.
- Other attributes:
- Found com.android.build.api.attributes.VariantAttr ‘debug’ but wasn’t required.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr ‘Aar’ and found compatible value ‘Aar’.
- Required org.gradle.usage ‘java-api’ and found compatible value ‘java-runtime’.
- Variant ‘releaseApiElements’ capability com.swmansion.reanimated:react-native-reanimated:unspecified:
- Incompatible attribute:
- Required com.android.build.api.attributes.BuildTypeAttr ‘releaseStaging’ and found incompatible value ‘release’.
- Other attributes:
- Found com.android.build.api.attributes.VariantAttr ‘release’ but wasn’t required.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr ‘Aar’ and found compatible value ‘Aar’.
- Required org.gradle.usage ‘java-api’ and found compatible value ‘java-api’.
- Variant ‘releaseRuntimeElements’ capability com.swmansion.reanimated:react-native-reanimated:unspecified:
- Incompatible attribute:
- Required com.android.build.api.attributes.BuildTypeAttr ‘releaseStaging’ and found incompatible value ‘release’.
- Other attributes:
- Found com.android.build.api.attributes.VariantAttr ‘release’ but wasn’t required.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr ‘Aar’ and found compatible value ‘Aar’.
- Required org.gradle.usage ‘java-api’ and found compatible value ‘java-runtime’.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use ‘–warning-mode all’ to show the individual deprecation warnings.
See https://docs.gradle.org/6.0.1/userguide/command_line_interface.html#sec:command_line_warnings

写回答

1回答

CrazyCodeBoy

2020-06-01

依赖包没有下载来了导致的,尝试将build.gralde中的 google()移动到最顶部试一下:

allprojects {
    repositories {
        google()
        mavenLocal()
        jcenter()
        maven {
            url 'https://maven.google.com'
        }
        maven {
            // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
            url "$rootDir/../node_modules/react-native/android"
        }
    }
}


0
0

RN入门到进阶,打造高质量上线App

解锁React Native开发应用新姿势,React Native新版本热门技术

3144 学习 · 3241 问题

查看课程