'Android studio mouse sometime not working?

I am using

  • Android studio 2.1.1 Build #AI-143.2821654 build on April 28, 2016.
  • JRE: 1.8.0_77-b03 x86_64
  • OS X El Capitan 10.11.3

I have met Android studio mouse problem a lot of times recently. I cannot use mouse to click anything in Android studio. All I can do is to use keyboard and shortcuts.

And only solution I found is to restart my whole computer. I have noticed that there is problem in other version of Android studio. So my question is that how can I deal with it?

I found that sometime I can reproduce this problem after I middle click the Editor Tab to close tab.

Android studio not working



Solution 1:[1]

Just had this issue this morning. Android Studio wasn't responding to mouse click events. The odd thing was that it was responding to mouse position (tooltips, hover effects).

I updated to the newest version of Android Studio using Android Studio > Check for Updates and navigated the dialog menu with tab and spacebar. This did not solve the issue, but is probably worthwhile to try.

I'm not 100% certain what solved it, but I started pressing other buttons on my mouse (right-click, middle click, etc). Eventually it started accepting my left-click input again.

Solution 2:[2]

It happened to me with Intellij IDEA, when a dialog window has been opened by the IDE, but for some reason it is hidden behind the main window. You may try to find if there is any open dialog and close it.

Solution 3:[3]

I had the same issue on my Android Studio (4.1.1) on my MacBook Pro (macOS 11.1). For me, I just restarted my MacBook and the mouse click started working on Android Studio. Not sure what caused it.

Solution 4:[4]

The mouse clicks thing and closing the android studio from task manager and open again did not help for me. im not sure why but CTRL+ALT+DELETE and going back to desktop fixed the problem.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Matt Barr
Solution 2 Guillermo Gutiérrez
Solution 3 user6264291
Solution 4 AloneWalker