Closed festimii closed 1 month ago
????
This declaration is experimental and its usage must be marked with '@kotlin.ExperimentalStdlibApi' or '@OptIn(kotlin.ExperimentalStdlibApi::class) I get this error while building apk sorry for the worng description
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript { ext { buildToolsVersion = "31.0.0" minSdkVersion = 24 compileSdkVersion = 30 targetSdkVersion = 30 supportLibVersion = "31.0.0" kotlinVersion = "1.7.21" kotlin_version = "1.7.21" firebaseVersion = "23.1.1" RNNKotlinVersion = kotlinVersion
}
allprojects { repositories { maven { url "$rootDir/../node_modules/detox/Detox-android" } } }
subprojects { afterEvaluate { subproject -> if(subproject['name'] == 'react-native-create-thumbnail'){ def myAttribute = Attribute.of("com.android.build.api.attributes.BuildTypeAttr", String) dependencies.attributesSchema { attribute(myAttribute) } configurations { implementation { attributes { attribute(myAttribute, "release") } } } } } }