{"action":"opened","issue":{"url":"https://api.github.com/repos/square/leakcanary/issues/525","repository_url":"https://api.github.com/repos/square/leakcanary","labels_url":"https://api.github.com/repos/square/leakcanary/issues/525/labels{/name}","comments_url":"https://api.github.com/repos/square/leakcanary/issues/525/comments","events_url":"https://api.github.com/repos/square/leakcanary/issues/525/events","html_url":"https://github.com/square/leakcanary/issues/525","id":154729745,"number":525,"title":"Could not create leak directory.  RuntimeException  DefaultLeakDirectoryProvider.java:45","user":{"login":"es0329","id":819901,"avatar_url":"https://avatars.githubusercontent.com/u/819901?v=3","gravatar_id":"","url":"https://api.github.com/users/es0329","html_url":"https://github.com/es0329","followers_url":"https://api.github.com/users/es0329/followers","following_url":"https://api.github.com/users/es0329/following{/other_user}","gists_url":"https://api.github.com/users/es0329/gists{/gist_id}","starred_url":"https://api.github.com/users/es0329/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/es0329/subscriptions","organizations_url":"https://api.github.com/users/es0329/orgs","repos_url":"https://api.github.com/users/es0329/repos","events_url":"https://api.github.com/users/es0329/events{/privacy}","received_events_url":"https://api.github.com/users/es0329/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-13T14:49:55Z","updated_at":"2016-05-13T14:49:55Z","closed_at":null,"body":"#### Device\r\n```\r\nModel: Nexus 6P\r\nCodename: angler\r\nManufacturer: Huawei\r\n```\r\n\r\n#### System\r\n```\r\nOS version: 6.0.1\r\nBuild number: MTC19T\r\nBootloader: angler-03.51\r\nSDK version: 23\r\nVM version: ART 2.1.0\r\nVM heap: 512 MB\r\nRoot: Unavailable\r\nBusyBox: Unavailable\r\nRadio module: angler-03.61\r\nVersion: 3.10.73-ga12dd8b android-build@wpiw3 ) #1 SMP PREEMPT Sat Mar 26 01:35:15 UTC 2016\r\n```\r\n\r\n#### LeakCanary Version: (app/build.gradle)\r\n```\r\nqaCompile \"com.squareup.leakcanary:leakcanary-android:1.4-beta2\"\r\n```\r\n\r\n#### Stacktrace\r\n```\r\njava.lang.RuntimeException: Unable to resume activity {com.XXXX.XXXXXXXX.qa/com.squareup.leakcanary.internal.DisplayLeakActivity}: java.lang.UnsupportedOperationException: Could not create leak directory /storage/emulated/0/Download/leakcanary-com.XXXX.XXXXXXXX.qa\r\n        at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3103)\r\n        at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3134)\r\n        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2481)\r\n        at android.app.ActivityThread.-wrap11(ActivityThread.java:-1)\r\n        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)\r\n        at android.os.Handler.dispatchMessage(Handler.java:102)\r\n        at android.os.Looper.loop(Looper.java:148)\r\n        at android.app.ActivityThread.main(ActivityThread.java:5422)\r\n        at java.lang.reflect.Method.invoke(Method.java:-2)\r\n        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)\r\n        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)\r\nCaused by: java.lang.UnsupportedOperationException: Could not create leak directory /storage/emulated/0/Download/leakcanary-com.XXXX.XXXXXXXX.qa\r\n        at com.squareup.leakcanary.DefaultLeakDirectoryProvider.leakDirectory(DefaultLeakDirectoryProvider.java:45)\r\n        at com.squareup.leakcanary.internal.DisplayLeakActivity.getLeakDirectory(DisplayLeakActivity.java:94)\r\n        at com.squareup.leakcanary.internal.DisplayLeakActivity$LoadLeaks.<init>(DisplayLeakActivity.java:444)\r\n        at com.squareup.leakcanary.internal.DisplayLeakActivity$LoadLeaks.load(DisplayLeakActivity.java:426)\r\n        at com.squareup.leakcanary.internal.DisplayLeakActivity.onResume(DisplayLeakActivity.java:142)\r\n        at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1258)\r\n        at android.app.Activity.performResume(Activity.java:6327)\r\n        at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3092)\r\n        at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3134)\r\n        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2481)\r\n        at android.app.ActivityThread.-wrap11(ActivityThread.java:-1)\r\n        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)\r\n        at android.os.Handler.dispatchMessage(Handler.java:102)\r\n        at android.os.Looper.loop(Looper.java:148)\r\n        at android.app.ActivityThread.main(ActivityThread.java:5422)\r\n        at java.lang.reflect.Method.invoke(Method.java:-2)\r\n        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)\r\n        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)\r\n```\r\n"}}