Unable to press any button in android studio user interface

I used to install Android Studio on Ubuntu14.04, and it is well written. Now I install it on Ubuntu12.04, but you have a strange problem. Sometimes, when I run it, it seems fine, but I can’t press any buttons on it. I can use the mouse to highlight the button, but I cannot click on it to do some action. How to open the SDK manager, create a new project, etc. The only way I can is to use the "ENTER" button to replace the left click. This is very strange and uncomfortable.

Does anyone have any ideas about this? Thank you very much!

==================================================== ==============

Now he is getting out of control again. In the terminal it shows: In the terminal it is displayed:

The result is DaemonCommandResult [type = Success, value = org.gradle.tooling.internal.provider.BuildActionRes ult@3ce49329 ] from the DaemonInfo daemon {pid = 3808, address = [b7a9bbfd-4a65-4ef0-9dce-d6afb9d0f860 port: 340 addresses: [/ 0: 0: 0: 0: 0: 0: 0: 1% 1, / 127.0.0.1]], idle = true, context = DefaultDaemonContext [uid = 3585f0de-2fbe-4575-a856-bca78b93ea4b, JAVAHOME = / USR / local / Java / jdk1.7.0_75, daemonRegistryDir = / house / Fairy / .gradle / daemon, PID = 3808, idleTimeout = 10800000, daemonOpts = -XX: MaxPermSize = 256m, -XX: + HeapDumpOnOutOfMemmrror24 , -Dfile.encoding = UTF-8, -Duser.country = USA, -Duser.language = en, -Duser.variant]}.

+6
source share
1 answer

I have not convincingly proven this yet, but my theory is Android Studio breaks if you have ever had more than one pointing device connected (not sure if Android Studio should be open while both are attached).

Yesterday I changed the mice (disconnecting the old one and then plugging in a new one). Android Studio was fine. Today I connected the old one and then disconnected the new one. This is when I noticed the described behavior. No amount of disconnection, reconnection or restart of Android Studio helped. I restarted the machine with the mice attached, and it was still broken.

Strangely, this even affected the beta version of Android Studio, which was not even open while all this was happening. I even installed an update for the beta version (using the keyboard); still no mouse clicks.

I finally restarted my machine with just one mouse. Android Studio is back to normal.

+3
source

Source: https://habr.com/ru/post/983388/


All Articles