Question

Android crash on initalization

  • 19 March 2024
  • 0 replies
  • 19 views

java.io.IOException: Could not create directory at /tmp/amplitude-identity/$default_instance
at com.amplitude.id.utilities.FileUtilsKt.createDirectory(FileUtils.kt:9)
at com.amplitude.id.FileIdentityStorage.<init>(FileIdentityStorage.kt:21)
at com.amplitude.id.FileIdentityStorageProvider.getIdentityStorage(FileIdentityStorage.kt:71)
at com.amplitude.core.Amplitude$build$built$1.invokeSuspend(Amplitude.kt:112)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
at java.lang.Thread.run(Thread.java:1012)
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@6774a4

 

Hi. I faced error on applying Amplitude, but it always crash with this log. 

 

It seems SDK doesn’t support the latest android OS, which related on creating directories.

 

Is there anything I missed on initialzation? Thank you.

 

 


0 replies

Be the first to reply!

Reply