From 7f2dfc654e696a3151b4d5c5a76bb0ea1fab9ee6 Mon Sep 17 00:00:00 2001 From: louiszawadzki Date: Tue, 19 Sep 2023 16:20:35 +0200 Subject: [PATCH] Make example app compile on Android --- example/android/app/build.gradle | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/example/android/app/build.gradle b/example/android/app/build.gradle index 65e1fc93a..ebd59c582 100644 --- a/example/android/app/build.gradle +++ b/example/android/app/build.gradle @@ -166,6 +166,15 @@ dependencies { } else { implementation jscFlavor } + + constraints { + implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.8.0") { + because("kotlin-stdlib-jdk7 is now a part of kotlin-stdlib") + } + implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.0") { + because("kotlin-stdlib-jdk8 is now a part of kotlin-stdlib") + } + } } apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project)