react-native - React-Native,依赖项。从谷歌登录
问题描述
我无法运行应用程序。我收到一条消息,指出存在重复的类/依赖项。
错误:
和下一部分
构建.gradle:
buildscript {
ext {
buildToolsVersion = "28.0.3"
minSdkVersion = 16
compileSdkVersion = 28
targetSdkVersion = 28
googlePlayServicesAuthVersion = "15.0.1"
}
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.5.2'
classpath 'com.google.gms:google-services:3.2.1'
}
}
应用程序/build.gradle
dependencies {
implementation fileTree(dir: "libs", include: ["*.jar"])
implementation "com.android.support:appcompat-v7:23.0.1"
implementation "com.facebook.react:react-native:+"
implementation(project(":react-native-google-signin"))
...
}
apply plugin: 'com.google.gms.google-services'
解决方案
推荐阅读
- angular - 在单个 Angular 应用程序中路由多个项目
- android - 按 CTRL+M 时,android 模拟器上会出现一些东西
- android - 我们可以使用动态功能模块作为 SDK 吗?
- opencv - 如何在 Ubuntu 的 Pycharm 中导入 cv2
- java - 堆排序中的 Java 计数交换
- php - 尝试发送电子邮件时不允许使用 SendGrid API 405 方法
- amazon-web-services - 无法更新只有分区键的 dynamoDB 表的项目
- excel - Excel 电源查询
- php - 从作曲家安装软件包后出错
- mysql - 错误 #1054:未知列 - 函数 sql 查询