Android dependency 'com.android.support:support-v4' has different version for the compile (26.1.0...

简介: 在项目中加入react-native-camera的时候 出现的错误.解决方案:修改implementation project(':react-native-camera')为implementation (project(':react-native-camera')) { exclude group: "com.

在项目中加入react-native-camera的时候 出现的错误.

解决方案:

修改

implementation project(':react-native-camera')

implementation (project(':react-native-camera')) {
        exclude group: "com.android.support"
    }

查看原文

Could not find play-services-basement.aar (com.google.android.gms:play-services-basement:15.0.1).

解决方案:

It was enough for me to move jcenter() below google() within allprojects.repositories in android/build.gradle

查看原文

目录
相关文章
|
4月前
|
Android开发 Kotlin
The Android Gradle plugin supports only Kotlin Gradle plugin version 1.3.10 and higher
The Android Gradle plugin supports only Kotlin Gradle plugin version 1.3.10 and higher
103 3
|
6月前
|
Android开发
Android studio 出现Plugin [id: ‘com.android.application‘, version: ‘8.1.0‘, apply: false] 问题解决办法
Android studio 出现Plugin [id: ‘com.android.application‘, version: ‘8.1.0‘, apply: false] 问题解决办法
1544 1
|
Android开发
Unrecognized Android Studio (or Android Support plugin for IntelliJ IDEA) version ‘202.7660.26.42.74
Unrecognized Android Studio (or Android Support plugin for IntelliJ IDEA) version ‘202.7660.26.42.74
345 0
Unrecognized Android Studio (or Android Support plugin for IntelliJ IDEA) version ‘202.7660.26.42.74
|
Android开发
Android studio 报错 Unable to resolve dependency for ‘:app@releaseUnitTest/compileClasspath‘:
Android studio 报错 Unable to resolve dependency for ‘:app@releaseUnitTest/compileClasspath‘:
267 0
Android studio 报错 Unable to resolve dependency for ‘:app@releaseUnitTest/compileClasspath‘:
|
安全 Android开发
ERROR: This version of Android Studio cannot open this project, please retry with Android Studio 3.
ERROR: This version of Android Studio cannot open this project, please retry with Android Studio 3.
356 0
ERROR: This version of Android Studio cannot open this project, please retry with Android Studio 3.
|
Linux 编译器 Android开发
【Android 逆向】Android 系统文件分析 ( /proc/ 目录文件分析 | 记录系统和进程信息 | version 内核版本信息文件 )
【Android 逆向】Android 系统文件分析 ( /proc/ 目录文件分析 | 记录系统和进程信息 | version 内核版本信息文件 )
275 0
【Android 逆向】Android 系统文件分析 ( /proc/ 目录文件分析 | 记录系统和进程信息 | version 内核版本信息文件 )
|
Java Android开发
【错误记录】Android Studio 编译报错 ( Could not determine java version from ‘11.0.8‘. | Android Studio 降级 )
【错误记录】Android Studio 编译报错 ( Could not determine java version from ‘11.0.8‘. | Android Studio 降级 )
499 0
【错误记录】Android Studio 编译报错 ( Could not determine java version from ‘11.0.8‘. | Android Studio 降级 )
|
Java Android开发
【错误记录】Android Studio 编译报错 ( Could not determine java version from ‘11.0.8‘. | 仅做参考 | 没有解决实际问题 )
【错误记录】Android Studio 编译报错 ( Could not determine java version from ‘11.0.8‘. | 仅做参考 | 没有解决实际问题 )
410 0
【错误记录】Android Studio 编译报错 ( Could not determine java version from ‘11.0.8‘. | 仅做参考 | 没有解决实际问题 )
|
Android开发
【错误记录】Android Studio 编译报错 ( cannot open this project, please retry with version 4.2 or newer. )
【错误记录】Android Studio 编译报错 ( cannot open this project, please retry with version 4.2 or newer. )
357 0
【错误记录】Android Studio 编译报错 ( cannot open this project, please retry with version 4.2 or newer. )
|
Java 开发工具 Android开发
【错误记录】Android NDK 错误排查记录 ( Could not get version from cmake.dir path ‘xxx\cmake\3.6.4111459‘. )
【错误记录】Android NDK 错误排查记录 ( Could not get version from cmake.dir path ‘xxx\cmake\3.6.4111459‘. )
416 0
【错误记录】Android NDK 错误排查记录 ( Could not get version from cmake.dir path ‘xxx\cmake\3.6.4111459‘. )