buildscript {
ext {
buildToolsVersion = "33.0.0"
minSdkVersion = 23
compileSdkVersion = 33
targetSdkVersion = 33
// For @react-native-community/netinfo package
androidXCore = "1.0.2"
// We use NDK 23 which has both M1 support and is the side-by-side NDK version from AGP.
ndkVersion = "23.1.7779620"
kotlin_version = '1.6.20' // <-- Add this
kotlinVersion = '1.6.20' // <-- Add this
}
...
...
...
1条答案
按热度按时间2sbarzqh1#
您需要告诉此包使用正确的Kotlin版本。尝试将以下行添加到
android/build.gradle
文件中: