leakcanary: Library leakcanary-android-1.3 is not in list of external libraries
I have a project with lots of dependencies. When I add
dependencies {
debugCompile 'com.squareup.leakcanary:leakcanary-android:1.3'
releaseCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.3'
}
to main build.gradle, leakcanary-android is not in list of external libraries after gradle sync, although leakcanary-analyzer and leakcanary-watcher are there.
See screenshot:
On a blank project however everything works fine:
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Comments: 40 (9 by maintainers)
Commits related to this issue
- Merge pull request #36 from romainguy/rg/icons New 512x512 icon (Issue #9) — committed to square/leakcanary by pyricau 9 years ago
- Merge pull request #36 from romainguy/rg/icons New 512x512 icon (Issue #9) — committed to Yky/leakcanary by pyricau 9 years ago
In my case, I had a custom buildType
I just had to use
bypassCompile
instead ofdebugCompile
I just encountered the same issue. Finally I solved it by adding
Before the
dependencies { ... }
section of mybuild.gradle
.