Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't click any button on the UI of android studio

I used to install Android Studio on Ubuntu14.04 and it worded well. Now I install it on Ubuntu12.04 but have a strange problem. Sometimes when I run it, it seems fine, but I can't click any buttons on it. I can use the mouse to highlight the button, but I can't click on it to make some action. Like open the SDK manager, create a New Project, etc. The only way I can is to use the "ENTER" button to take the place of left click. It's very weird and inconvenient.

Does any one have an idea about it? Thank you very much!

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

Now it again becomes out of control. In the terminal it shows: In the terminal it shows:

Received result DaemonCommandResult[type=Success, value=org.gradle.tooling.internal.provider.BuildActionResult@3ce49329] from daemon DaemonInfo{pid=3808, address=[b7a9bbfd-4a65-4ef0-9dce-d6afb9d0f860 port:34032, 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=/home/faye/.gradle/daemon,pid=3808,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=UTF-8,-Duser.country=US,-Duser.language=en,-Duser.variant]}.

like image 275
adaniefei Avatar asked Mar 05 '15 16:03

adaniefei


People also ask

Why does my Android button not work?

Force Reset Your Android Phone. If there is a temporary glitch in your system leading the home and back button not working android, force restarting your device should fix it for you. Press and hold down the Power button on your device for a few seconds. Your phone will begin to reboot.

Why is my android studio Emulator not working?

If the Android Emulator does not start properly, this problem is often caused by problems with HAXM. HAXM issues are often the result of conflicts with other virtualization technologies, incorrect settings, or an out-of-date HAXM driver. Try reinstalling the HAXM driver, using the steps detailed in Installing HAXM.

How do I turn on AVD?

Firstly, open Tools > Android > AVD Manager , in the Actions column, click the arrow button then choose: Cold Boot Now.


1 Answers

I haven't conclusively proved this yet, but my theory is Android Studio breaks if you ever have more than one pointing device attached (not sure if Android Studio has to be open while they're both attached).

Yesterday, I swapped mice (unplugging the old and then plugging in the new). Android Studio was fine. Today, I plugged in the old and then unplugged the new. That's when I noticed the described behavior. No amount of unplugging, re-plugging, or restarting Android Studio helped. I restarted the machine with both mice attached and it was still broken.

Strangely, it even affected the Beta version of Android Studio that wasn't even open while all of this was happening. I even installed an update to the Beta version (using the keyboard); still no mouse clicks.

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

like image 118
colithium Avatar answered Oct 27 '22 00:10

colithium