Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Highlighting stopped working after AS upgrade to 4.2.2 #51

Open
Lingviston opened this issue Jul 5, 2021 · 4 comments
Open

Highlighting stopped working after AS upgrade to 4.2.2 #51

Lingviston opened this issue Jul 5, 2021 · 4 comments

Comments

@Lingviston
Copy link

I used AS 4.1.1. Imported the project and could see the custom rule highlighting. Then I updated to 4.2.2, reseted AS to its defaults and re-imported the project. Since that moment custom rule highlighting doesn't work. However, the issue is reported when I run ./gradlew :app:lint.

Besides, even with the OLD AS version the custom rule highlighting didn't work in MY project, but worked from the command line. What can be the reason of that? Any way I can debug it?

@EvgenijPrav
Copy link

I face the same issue when using AS 4.2.2. I've tried on macOS and on Windows, but I can't see highlighting. I don't see highlighting neither opening the project nor after running :app:lint command (but I can see errors in the console).

@samuelprince77
Copy link

I also experience this issue, the only fix that worked for me was to manually copy the generated jar file for the rule(checks.jar) into ~./android/lint. Doing this enabled the highlighting in AS (macos)

@Lingviston
Copy link
Author

I also experience this issue, the only fix that worked for me was to manually copy the generated jar file for the rule(checks.jar) into ~./android/lint. Doing this enabled the highlighting in AS (macos)

Something is definitely broken. Lint integration must not be that unstable. I wish we had tools to debug what's going wrong.
I reported the issue to Google. Could you please +1 it as well?
https://issuetracker.google.com/issues/192776762

@TanZhiL
Copy link

TanZhiL commented Jul 26, 2023

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants
@Lingviston @samuelprince77 @EvgenijPrav @TanZhiL and others