Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to copy error message in Android Studio tooltip

How can you select or copy the error tooltips that appear when hovering over code in Android Studio?

For example: Tooltip Error Android Studio

Is there a key command? I'm on Mac if that's relevant. Thanks!

like image 678
AntInvent Avatar asked Apr 27 '17 18:04

AntInvent


2 Answers

On Windows: try,

  1. Hover over the yellow popup text
  2. Alt+LeftMouseClick
  3. The 'yellow text' should now be on your clipboard, ready to paste.

That is it!

like image 62
Teknia Avatar answered Oct 20 '22 23:10

Teknia


The older solutions don't seem to be working for me. Not sure if the behavior changed, but here is what is working for me on a Mac with Android Studio 3.4:

  1. press control + option simultaneously
  2. hover over the text that has an error
  3. click on the tooltip when it pops up.
like image 44
Jacob Lehrbaum Avatar answered Oct 20 '22 21:10

Jacob Lehrbaum