I have Android Studio 3.1 and for some reason I am unable to scroll through the code 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?
try to : minimized all open application and refresh window you can say the desktop where you see your wallpaper (Right click on window(HomeScreen)) and click refresh) then pop out And. Studio and press F5 .
Related
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.
Similar questions had been asked for earlier versions of and I found the most recent was in October 2015. At that time users were no longer be able to drag and drop widget to Design view of activity_main.xml but were able to do so to design view of content_main.xml. Last week (late Sep 2016) I updated Android Studio to 2.2 on macOS Sierra.
The design view is now showing two views for the screen (not sure how to correctly call its name) and I cannot drag and drop widget to either of them. It simply does now allow me to drag any widget from Palette. I tried the menu File/Invalidate Caches/Restart.and it did not help.
Thanks.
In macOS Sierra i don't know why drag n drop function is not working but in windows android studio 2.2 its working under design Tab, May be some problem when you configure android studio. Please check ones
I don't have Android Studio 2.2 on Windows to try it yet. Possible reasons I can think of includes the following:
Android Studio 2.2 does include something that caused this on macOS Sierra. And I happened to updated the Android Studio and mac OS last week;
My Android Studio has been installed since probably 1.4 and has been updated for each release. It's not fresh new 2.0 install. Uninstall and reinstall will be a lot of pain and time wasting.
My mouse is wireless Logitech M510 which was is connected to a four port StarView DVI KVM switch. But this is a wild guess. It's unlikely the culprit unless one had same issue with windows mouse but not with Mac mouse. I am using 2012 mac mini.
I had the same problem but then I found this useful answer https://code.google.com/p/android/issues/detail?id=211582, and this post give me the solution:
11 nan.y...#gmail.com
OK, finally I found how to solve this problem. But it is still strange. I think may be it is still a bug in AS 2.2.
Key is Preferences->Appearance->UI Options->"Drag-n-Drop with ALT pressed only". This is checked as default both in my AS2.1.1 and AS 2.2.
Then
1) In AS 2.1.1, only I press ALT and then drag items in Project Pane, I can move java class from one package to the other one. In layout editor, I can drag widget from palette to layout without ALT key pressed.
2) In AS 2.2, same as AS2.1, I need to press ALT to drag items in Project Pane. But in layout editor, no matter I press ALT key or not, I cannot drag widget from Palette to layout. The strange is here:
2-1) I uncheck this option, then I can drag item in Project Pane without ALT key pressed, but I still cannot drag widget in Palette.
2-2) I check this option again, then I need to press ALT to drag item in Project Pane. AND THEN ! I can drag widget in Palette with ALT key pressed.
2-3) After two step above, if I check this option I need to press ALT to drag a widget from palette. If I uncheck this option I can drag widget directly without ALT press.
Now, dragging widget in Palette works properly in my AS 2.2, but I still think this solution is wacky. I hope my solution could help to dig out the root cause of this issue.
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
How can i solve this problem where the interface jumps all over the place?
This happens on Android Studio 1.5.1 (based on IntelliJ), but not on Java IntelliJ IDEA, which is weird.
Update:
It doesn't happen continuously, usually after a few minutes in the program.
A full reinstall and restoring default layout is not solving the problem.
However when resizing the window or when dragging the window outside the visible area of the screen, the layout goes back to normal and mostly when the mouse is moved the same issue appears again.
Update 2:
Since one of my 2 boot SSD's (in RAID0) gave up on life, I was forced to reinstall Windows and so lost all the programs on the C drive... On this new Windows install the interface issue with Android Studio is gone, so the problem was probably a wrong config file or a problem with Java.
I think you can reinstall it.Also you can click shift+F12 first.
as already told in the title, I have an issue regarding the preview tool of Android Studio.
As I install the program, all works fine. I can create layouts and previewing them without any trouble. The problem comes when I restart my computer. Every time, the preview tool disappears (grey unselectable menu option and no other buttons to activate it around) and I can't manage to make it work again, unless I re-download Android Studio and I re-update the SDK. It's really annoying, because it's difficult to project a layout without restarting the computer, looking at what you are doing or loading it every time on the phone.
I've attached a screenshot, can anyone help me? Does anyone know a solution?
as you can see, there is no preview and no button to activate it
What about clicking on the design tab at the bottom of the editor ?