Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing: java.lang.IllegalStateException: Another SimpleCache instance uses the folder: /data/user/0/com.imaanify/cache/TrackPlayer #1865

Closed
abodsakah opened this issue Dec 29, 2022 · 2 comments

Comments

@abodsakah
Copy link

Hi! 👋

Firstly, thanks for your work on this project! 🙂

Today I used patch-package to patch react-native-track-player@3.2.0 for the project I'm working on.

Here is the diff that solved my problem:

diff --git a/node_modules/react-native-track-player/android/build.gradle b/node_modules/react-native-track-player/android/build.gradle
index ad99343..a85a2ff 100644
--- a/node_modules/react-native-track-player/android/build.gradle
+++ b/node_modules/react-native-track-player/android/build.gradle
@@ -49,7 +49,7 @@ repositories {
 }
 
 dependencies {
-    implementation 'com.github.DoubleSymmetry:KotlinAudio:v1.2.4'
+    implementation 'com.github.DoubleSymmetry:KotlinAudio:dd4bdab147c90fffcff7800790dbfcb41291d29b'
 //    implementation "com.github.doublesymmetry:kotlin-audio:1.2.2"
 
     //noinspection GradleDynamicVersion

This issue body was partially generated by patch-package.

@dennis-fritsch
Copy link

Thanks for this thread it solved the issue for us :)

I've found another related thread with more informations: #296

@puckey
Copy link
Collaborator

puckey commented Feb 22, 2023

Should be fixed in nightly.

@puckey puckey closed this as completed Feb 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants