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?

Shashanth
  • 4,995
  • 7
  • 41
  • 51
mmprog
  • 771
  • 10
  • 21

3 Answers3

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.

Selçuk Cihan
  • 1,979
  • 2
  • 17
  • 30
  • i added small edit founded following Your track. thank You – mmprog Nov 03 '16 at 20:28
  • 11
    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. – Grishka Nov 30 '18 at 23:52
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.

mmprog
  • 771
  • 10
  • 21
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.

boring91
  • 1,051
  • 12
  • 28