Oma*_*rys 5 android build.gradle react-native
我需要找到这个错误的解决方案和解释。周四它工作正常并构建正常,第二天我收到此错误。我不明白为什么。
在我没有在 android/build.gradle 中配置 kotlin 版本之前,但对于每个版本,我都会收到不同的错误。请帮忙。
buildscript {
ext {
buildToolsVersion = '29.0.3'
minSdkVersion = 21
compileSdkVersion = 31
targetSdkVersion = 30
//kotlin_version = '1.4.20'
}
repositories {
google()
mavenCentral()
jcenter()
maven { url "https://plugins.gradle.org/m2/" }
}
dependencies {
classpath 'com.google.gms:google-services:4.3.8'
classpath('com.android.tools.build:gradle:4.1.0')
//classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.20")
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
5611 次 |
| 最近记录: |