this Issue https://github.com/square/leakcanary/issues/1597
because the project include apply plugin: 'android-aspectjx'
remove it 锛宨t's work ok
or use
apply plugin: 'android-aspectjx
aspectjx {
exclude 'com.squareup'
exclude 'leakcanary'
}
Hi,
Please provide a sample project that reproduces this. In any case this sounds like a bug in android-aspectjx so you migh want to file a bug there.
this is the sample project https://github.com/smallgirl/leakcanaryaspectjx @pyricau
Thanks, I was able to reproduce, this is definitely an issue in the gradle_plugin_android_aspectjx library, I filed an issue there: https://github.com/HujiangTechnology/gradle_plugin_android_aspectjx/issues/249