lint-sample
lint-sample copied to clipboard
Android Studio does not show code alert in IDE.
Hi , this is a great job for you to make this sample. I followed the instructions in your article. But no red lines under error code like your screenshots.
I can see the custom rules in the output report of gradle lintDebug
, which means the custom rule is adapted correctly.
Hope that you can shed a light on this . :)
I'd like to hear about this too
If you run his project - Android Studio 4.1 doesn't highlight it too.
I think it only works when you include it as a separate library
Played a bit more with this and it seems like when you update Kotlin to 1.4+ then you have to explicitly add it as a dependency to the library and then the highlight stops working.