java.lang.UnsupportedOperationException: Could not create leak directory /storage/emulated/0/Download/leakcanary-app

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by Draffodx
, 1 year ago
Could not create leak directory /storage/emulated/0/Download/leakcanary-app
via GitHub by 920-Text-Editor-User
, 1 year ago
Could not create leak directory /storage/emulated/0/Download/leakcanary-com.jecelyin.editor.v2
via GitHub by avenwu
, 1 year ago
Could not create leak directory /storage/emulated/0/Download/leakcanary-com.wuba
via GitHub by lnanek
, 2 months ago
Could not create leak directory /storage/emulated/0/Download/leakcanary-com.classpass.classpass.dev
via GitHub by RomainPiel
, 1 year ago
Could not create leak directory /storage/emulated/0/Download/leakcanary-com.myapp
java.lang.UnsupportedOperationException: Could not create leak directory /storage/emulated/0/Download/leakcanary-app
at com.squareup.leakcanary.DefaultLeakDirectoryProvider.leakDirectory(DefaultLeakDirectoryProvider.java:45)
at com.squareup.leakcanary.internal.DisplayLeakActivity.getLeakDirectory(DisplayLeakActivity.java:94)
at com.squareup.leakcanary.internal.DisplayLeakActivity$LoadLeaks.(DisplayLeakActivity.java:444)
at com.squareup.leakcanary.internal.DisplayLeakActivity$LoadLeaks.load(DisplayLeakActivity.java:426)
at com.squareup.leakcanary.internal.DisplayLeakActivity.onResume(DisplayLeakActivity.java:142)
at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1258)
at android.app.Activity.performResume(Activity.java:6327)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3092)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3134)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.