How to stop Android Studio suggesting "Insert App Indexing" quick fix?
Asked Answered
E

3

6

Android Studio keeps suggesting me to add App Indexing code. Worse that it shows quick fix icon always when cursor is in line where there are no other problems.

Quick fixes become less useful because of need to care if it will not "fix" App Indexing problem. Second - it's annoying and distract from real issues.

How to disable this "brilliant" feature?

Edelstein answered 1/11, 2016 at 22:11 Comment(0)
C
8

Brilliant indeed, took me an hour to undo the changes it caused and to turn it off for good.

File -> Settings -> Plugins -> Firebase App Indexing -> uncheck.

Restart Android Studio and it will be gone.

Note that this will remove the plugin, don't know if there is a way to just disable the quickfix suggestion.

Coreycorf answered 3/11, 2016 at 6:19 Comment(2)
i added small edit founded following Your track. thank YouEdelstein
As of 2018, this no longer works. I've had this plugin already disabled but the warnings were still there. Unchecking Settings -> Editor -> Inspections -> Android -> Lint -> Usability -> Missing support for Firebase App Indexing worked for me.Lay
E
5

If you need Firebase plugin enabled. Uncheck this function: File->Settings->Editor->Intentions->"Android"\"Insert App Indexing API Code". This disables only annoing quickfix suggestion.

Edelstein answered 4/11, 2016 at 6:30 Comment(0)
C
0

I know this is a bit old, but for anyone who's still struggling with this, you can hide the warning by adding tools:ignore="GoogleAppIndexingWarning" attribute to the application tag.

Caulfield answered 23/3, 2020 at 19:34 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.