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.
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.
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.
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.
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.
Here is how I fixed this issue:
Use keyboard arrows and tab key to navigate to google assistant
Press enter to launch it
type and search "Power Menu : Software Power Bu"
navigate to install the app in results from playstore
Open the app after install and accept & set permissions
Open Power Menu now And you will get Android Power Options
Navigate to "Restart" and restart device
Viola!!! Now Emulator clicks works
In my case it happened, because one of the plugins started crashing in the loop, somehow disabling mouse click handlers.
Verify logs
Log file location:
~/Library/Logs/Google/AndroidStudio2020.3/
Remove bad plugins
~/Library/Application Support/Google/AndroidStudio2021.3/plugins
Related
I am new in Android Studio. I am using Android Emulator for call rest API for my backend. Before, i scroll down basicly in main android page. But after i wanted to tried scroll down, as if i right clicked, Home Setting, Widgets and Wallpaper pop-up show me. What is the solution about that. I never changed any setting.
Thanks for reply.
It looks like your emulator is frozen. It happens quite often.
I would suggest you to try these:
Restart your computer and try to run your app in the emulator. After it successfully runs, now try to clear the app cache.
If that didn't help, create another emulator. I recommend to choose different device and API level than the current emulator device but it is not necessary. This should solve your problem.
Tips
If you want to clear data, clear cache, uninstall app, clear cache and restart the app and so many such actions from android studio without touching your emulator then you can use ADB Idea plugin.
For that, in android studio go to Settings -> Plugins
search for ADB Idea in marketplace. Install it.
You need to restart android studio.
To use it:
You can press shift key in your keyboard twice and search for Adb in search window. You will get all the options from the plugin
From android studio menu... Tools -> ADB Idea and then you will see all the options available.
In Android Studio, when I press play button to install and run the app on the Android Emulator, after about 5-10 seconds, I get a message on the bottom of the screen saying "Install successful" but the app doesn't actually run on the emulator, I have to press the play button again. This is quite frustrating because I have worked on projects where I just press play once and it installs and runs at the same time.
I tried searching this forum but couldn't find an answer. Does anybody else experience this and how do you fix it?
EDIT: Looks like the 'Run on Multiple Devices' option has been removed from the latest Android Studio update. The problem has started again and I can't seem to find a workaround or a solution.
--
Outdated solution:
Instead of clicking on the icon, I started using the dropdown box, clicking on 'Run on Multiple Devices', selecting the devices and clicking 'Run'.
This seems to have solved the problem for now.
I have Android Studio 3.1 and for some reason I am unable to scroll using the touchpad. I have to manually scroll by dragging the scroll bar on the right, and this can get very tedious and inconvenient if im working on a large project. I used to be able to two-finger scroll on previous versions of Android Studio but for some reason its just not working anymore. I have windows 10 if thats relevant. Any idea how I can fix this?
I had the same issue and found a solution by making a small change to a registry entry:
Open regedit.exe using run
Go to HKEY_CURRENT_USER -> SOFTWARE -> Elantech -> Smartpad
Change ScrollControl_Mode from 0 to 1
I found the answer here:
https://www.reddit.com/r/techsupport/comments/3lhmhq/win10_elan_touchpad_scrolling_issues/
Just go to File>Settings or Ctrl+Alt+S. Then Select Appearance in Appearance & Behavior menu. Now Scroll down to Windows option and Select the Smooth Scrolling checkbox. Below there is an image. This worked for me.
https://i.stack.imgur.com/bXApl.png
Two-finger scrolling problem generally occurs due to malfunctioning of touchpad drivers of windows 10.
Things you can try are:
Go to File>Settings or Ctrl+Alt+S. Then Select Appearance in Appearance & Behavior menu. Now Scroll down to Windows option and select the Smooth Scrolling checkbox
as suggested by #Nikhil
You have to update your touchpad drivers:
For updating driver:
Go to the Device Manager.
Expand "Mice and other pointing devices".
Right-click on your touchpad (probably Asus Support Device)
Properties.
Driver Tab.
Roll Back Driver.
Restart computer.
If it still doesn't work now try updating your touchpad driver again after rolling back.
If it still doesn't work try to uninstall your touchpad driver and reinstall it.
Important: Always Remember to restart your computer every time you make any change.
For me, the problem is often caused by other apps that are currently running. For example cmd or OneNote. After closing those scrolling works again.
I'm a newbie for Android Application Development, I just started off with a very basic app on Android Studio, firstly I launched Emulator from the AVD manager, the Emulator popped up with frame and when I unchecked "Device Frame" & launched again,
now my question is how do I get rid off the soft keypad(Dark Gray) on the right?
by the way I've tried this answer, but no luck so far any help/suggestions are much appreciated.
I would recommend, try upgrading android studio to 2.0+ (currently in preview), you'll find a smother and better emulator
Go to settings
Language and Keyboard
Uncheck "Android keyboard" and also check other stuff and uncheck those too
I am using Android Studio 0.9.9 and Genymotion 2.3.1.
When I press run app in Android Studio, the Android Studio will allow me to choose to deploy my app in Genymotion which I usually do.
At this point, the app is running.
Let say at this point, I want to make a change in the code.
I saved the changes in Android Studio.
How do I reload my changes and redeploy the app without rebooting the Genymotion?
EDIT
Ultimately, just upgrade to latest stable downloads of Android Studio was the solution.
Press F1 in Genymotion and click on "Reload JS" incase of react-native app development.
Press F2 for Android Studio emulator.
First as eyal-lezmy mentioned you should download Android Studio 1.0.2 Stable edition, (you always want the latest edition, especialy if the IDE is that fresh as Android Studio is.
If I understood correctly you want to erase and re install your application from your emulator. To do so,In your emulator, go to Menu-->Settings-->Apps, then choose your application and unistall it. Then, go to Android Studio and run your applciation.
Edit considering your comment
Reload being the fact that if my app has a button in activity A, and I press it, and it opens activity B, and I go back to Android Studio to type a comment, I want to reload the app and it auto starts right back at activity A.
If you make any change to your code, then to see in in action you must re-run the application. However, if you want your default starting activity to be Activity B, then you should go to your manifest file, remove this from Activity A code:
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
and place it inside the activity B code, where you want your application to start from.
-Turn off the emulator
-In Genymotion Window click the settings icon infront of the device name
-under "Android system options", check the "Show Android navigation bar"
-click ok and start the emulator
You will get the navigation bar from where you can kill the app
I have met a similar problem in Android 2.3.7 under Genymotion. I just closed the application before starting
If you only need to reload (refresh) an application on your Genymotion mobile device emulator and see your last changes in the code, you are going to do the following:
Go to the window of Genymotion virtual device, that you run yet;
Point cursor on the top bar with ᴧ Expo logo
Make left click mouse and hold it
Move cursor to the refresh symbol ↻ and push on it
You actually don't really need to do nothing.
When you click on the IDE's button to build and deploy your app. Android Studio will close it, install it and then run it again including your changes.
What's happening on your side?
Btw, I really advise you to update Android Studio, since the 1.0 version, the soft is very stable and behaving really as expected.