Closed Nasseratic closed 10 months ago
I got it working by applying this patch:
diff --git a/android/build.gradle b/android/build.gradle
index a5cbedf0a81e90b9dba4c617fe109144a9c7b7e8..ecc8e04aad96469d8012b215edfce2d769e75b21 100644
--- a/android/build.gradle
+++ b/android/build.gradle
@@ -1,6 +1,6 @@
buildscript {
// Buildscript is evaluated before everything else so we can't use getExtOrDefault
- def kotlin_version = "1.6.20"
+ def kotlin_version = "1.8.0"
repositories {
google()
diff --git a/android/gradle.properties b/android/gradle.properties
index 10376a6dccf28bee05f74c1a5e317e893007d2f6..17b35ad480b7db41804718af9e3a72f82449145b 100644
--- a/android/gradle.properties
+++ b/android/gradle.properties
@@ -1,4 +1,4 @@
-VolumeManager_kotlinVersion=1.6.20
+VolumeManager_kotlinVersion=1.8.0
VolumeManager_compileSdkVersion=33
VolumeManager_targetSdkVersion=33
Will open a pr soon :)
Fixed with #19, will release a new version. Thanks for your contribution
Hi 👋🏼
I am getting this error trying to build android with expo 49 ( react native 0.72 )
Maybe upgrade the Kotlin version again like this issue https://github.com/hirbod/react-native-volume-manager/issues/11