Leakcanary: To solve Unable to get provider leakcanary.internal.LeakCanaryFileProvider

Created on 28 Feb 2020  路  3Comments  路  Source: square/leakcanary

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' }

bug

All 3 comments

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

Was this page helpful?
0 / 5 - 0 ratings