That people will ask questions that are super easily Googled (with the #1 result often being… a Stack Overflow question) is a fact of life.
Our history shows that there’s no way to tell people to Google first (although they damn well should) that isn’t borderline rude, or has other unintended consequences.
Other people have Googled, but the solutions they found didn’t work for them because of some detail specific to their situation. Mysteriously, they often don’t mention that previous research and their specific situation when asking their question (possibly out of a sense that it’s inappropriate to be too specific), and end up getting berated by people like me for not Googling first.
There might be a way to help at least some of the non-Googlers find what they need without asking another unneeded question—by doing the Googling for them.
At the same time, we can remind those who have done their research that they might want to mention that.
After clicking the “ask” button, Stack Overflow could show askers below a certain reputation level an interstitial page with a list of Google results for the question title and/or the appropriate tags, and the option to edit their question, postpone posting it, or going ahead.
This would be much like the “Questions that may already have an answer” list, but on a new page. (The other list would stay where it is.)
(The wording would still need work.)
Now, as far as I know, Google doesn’t currently offer a public API for its search results. But I’m sure Stack Overflow could figure something out or get a custom solution for this.