You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:920)
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@5de282a, java.util.concurrent.ThreadPoolExecutor@a50161b[Running, pool size = 2, active threads = 1, queued tasks = 0, completed tasks = 2]]
Possible Solution
Not really sure.
Steps to Reproduce
Call amplitude.setUserId("hello@email.com") after initializing the Amplitude class.
Environment
Unity Plugin Version: 1.16.7
Device: Android Pixel 4 API 32 emulator
Device OS and Version: Android 12
The text was updated successfully, but these errors were encountered:
Actually this issue happens because I imported com.amplitude.core.Amplitude instead of com.amplitude.android.Amplitude. Fixing the import resolved my issue.
Expected Behavior
amplitude.setUserId("hello@email.com")
Current Behavior
The app crashes with stacktrace:
Possible Solution
Not really sure.
Steps to Reproduce
Call
amplitude.setUserId("hello@email.com")
after initializing the Amplitude class.Environment
The text was updated successfully, but these errors were encountered: