{"action":"created","issue":{"url":"https://api.github.com/repos/square/leakcanary/issues/9","labels_url":"https://api.github.com/repos/square/leakcanary/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/square/leakcanary/issues/9/comments","events_url":"https://api.github.com/repos/square/leakcanary/issues/9/events","html_url":"https://github.com/square/leakcanary/issues/9","id":74691407,"number":9,"title":"Library leakcanary-android-1.3 is not in list of external libraries","user":{"login":"zaur","id":965068,"avatar_url":"https://avatars.githubusercontent.com/u/965068?v=3","gravatar_id":"","url":"https://api.github.com/users/zaur","html_url":"https://github.com/zaur","followers_url":"https://api.github.com/users/zaur/followers","following_url":"https://api.github.com/users/zaur/following{/other_user}","gists_url":"https://api.github.com/users/zaur/gists{/gist_id}","starred_url":"https://api.github.com/users/zaur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zaur/subscriptions","organizations_url":"https://api.github.com/users/zaur/orgs","repos_url":"https://api.github.com/users/zaur/repos","events_url":"https://api.github.com/users/zaur/events{/privacy}","received_events_url":"https://api.github.com/users/zaur/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":27,"created_at":"2015-05-09T15:03:42Z","updated_at":"2015-05-14T15:44:01Z","closed_at":null,"body":"I have a project with lots of dependencies.\r\nWhen I add \r\n```\r\n dependencies {\r\n   debugCompile 'com.squareup.leakcanary:leakcanary-android:1.3'\r\n   releaseCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.3'\r\n }\r\n```\r\nto main build.gradle, leakcanary-android is not in list of external libraries after gradle sync, although leakcanary-analyzer and leakcanary-watcher are there.\r\nSee screenshot:\r\n![screen shot 2015-05-09 at 18 59 23](https://cloud.githubusercontent.com/assets/965068/7550725/df33f600-f67d-11e4-911f-2eb5d7ce40b4.png)\r\n\r\n\r\nOn a blank project however everything works fine:\r\n![screen shot 2015-05-09 at 18 59 09](https://cloud.githubusercontent.com/assets/965068/7550726/107f2040-f67e-11e4-9415-abd16678135e.png)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/square/leakcanary/issues/comments/102078492","html_url":"https://github.com/square/leakcanary/issues/9#issuecomment-102078492","issue_url":"https://api.github.com/repos/square/leakcanary/issues/9","id":102078492,"user":{"login":"kaushikgopal","id":1042037,"avatar_url":"https://avatars.githubusercontent.com/u/1042037?v=3","gravatar_id":"","url":"https://api.github.com/users/kaushikgopal","html_url":"https://github.com/kaushikgopal","followers_url":"https://api.github.com/users/kaushikgopal/followers","following_url":"https://api.github.com/users/kaushikgopal/following{/other_user}","gists_url":"https://api.github.com/users/kaushikgopal/gists{/gist_id}","starred_url":"https://api.github.com/users/kaushikgopal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaushikgopal/subscriptions","organizations_url":"https://api.github.com/users/kaushikgopal/orgs","repos_url":"https://api.github.com/users/kaushikgopal/repos","events_url":"https://api.github.com/users/kaushikgopal/events{/privacy}","received_events_url":"https://api.github.com/users/kaushikgopal/received_events","type":"User","site_admin":false},"created_at":"2015-05-14T15:44:01Z","updated_at":"2015-05-14T15:44:01Z","body":"this is strange. I got it to work now:\r\n\r\n* I basically knocked off a bunch of dependencies from my `build.gradle`\r\n* AS then threw up with errors for the missing dependencies\r\n* i re-added the dependencies (in the exact same order without any change)\r\n* but i went to command line and did a `gw clean assemble`\r\n\r\ni see leakcanary-android now ! #win.\r\n\r\nI'm not sure how or what changed, probably the clean build from command line flushes out some cached config :S ? In any case solved for me. Thanks folks!\r\n\r\n@RobertoIDL give a shot and clean build from command line (alternatively the unexplainable crazy procedure i just listed above) and see if it works for you."}}