I am using Linux Mint 18.2 and Android Studio 3.0. I started my avd nexus 5 oreo, it's running but not working computers keyboard. I couldn't write anything. Only when i can write something about hundred times try with mouse right and left click. It's silly. I check avd config.ini. Thats true and see hw.keyboard=yes.
I think it can not focus on the emulator window and so its not writing.
Like i sad the problem is emulator window is not focused.
I found two solution.
Right and left keys of the mouse to be written in the text area click quickly 3 or 4 times. (So the window focuses, if you look at the window title it will be understood. Note: You have to do this every time)
Go to your Window Manager, find Focus tab, Change Focus Model -> "Focus follow mouse". (Permanent solution which Paul Freez's answer -> https://stackoverflow.com/a/42720450/4300071)
Related
I've been doing development with Flutter. I was using a real hardware but wanted to use an emulator. I set it up but there's this issue.
I usually put my apps in virtual desktops and I switch between them with Ctrl+Meta+[arrow keys]. Each of them have a special purpose, usually desktop 1 is for browsing, desktop 2 is for development and desktop 4 is extra (for testing UI apps and emulator in this case).
However, after I launch Android emulator and switch to a different desktop, it results in the issue seen below:
The red area you see stays unresponsive for other apps such as browser, VSCode etc. (i.e. does not respond to clicks). That area is where the emulator is on Desktop 4. And it also keeps showing multitouch tool.
It's a bit annoying so I wanted to ask if anyone got this issue and if they have any solutions.
Thanks in advance.
Environment
Kubuntu 20.04
AMD Radeon R7 240/340
Solution 1
I have, somehow in a weird way, found a workaround for this issue.
After having this issue, go to the emulator window and press the magnifying glass with a plus button icon twice.
After that, it will drop that weird multitouch state and it won't bother you even as you switch desktop.
Rebooting computer will result in the same bug, however, you have to do it again.
Solution 2
Another method that works is to simply resize the window. If you have a device frame on your emulator, you can simply hold down the Meta key and hold right click and resize your window.
Solution 3
You can also maximize the window. If you have device frame around emulator window, you can press ALT+F3, which opens up window options menu, then click "Maximize". This will get rid of it.
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 little bit freshman in Android development so the some reasons may be sound incorrect.
I have been faced with a problem that the virtual keyboard is not displayed when I run the emulator for any created AVD with the varied parameters but it appears one of the following messages just without the expected keypad:
"Hardware keyboard not enabled in AVD. Use on screen keyboard" (With deselected checkbox "Hardware keyboard present").
"Hardware Keyboard. Use your physical keyboard to provide input" (With selected checkbox "Hardware keyboard present").
Also I played around the config.ini with the flags hw.keyboard, hw.keyboard.lid, hw.touchScreen but nothing couldn't help me.
The point of my question is how to get the most common view in the right side of emulator window like this.
So, currently I have resolved my issue. All previous answers did not follow my question perhaps due to unclear explanation from my side.
So, to clarify this question, before I give an answer, the main point was: I meant that there was absent not hardware or software keyboard but the emulator own skin keyboard and couple of another buttons. I guess, my AVD Manager makes incorrect construction of AVD. It's the talk of the special config.ini file that contains two abnormal parameters:
skin.name=320x480
skin.path=320x480
After I changed it, for example, to
skin.name=HVGA
skin.path=platforms\android-XX\skins\HVGA
where XX means any version within described path to skin in Android SDK folder,
all skins are applied properly and emulator look better.
Unfortunately, I still have an issue with understanding. Why after the proper installation and configuration of dev. environment the AVD Manager formats config.ini file incorrectly with parameters hw.dPad=no, hw.trackBall=no by default and skin.name and skin.path set to the wrong values.
I am running Eclipse on a Windows 7 machine. Since the last update of the Android-related files (Android SDK and AVD) to version 4.1, I have a weird looking keyboard:
(this is the first part of the tutorial on the Android Developer website...)
I had a real qwerty-keyboard before, but now it is not only (partly) Japanese, but I can't seem to find how to change it to a qwerty-keyboard.
I have tried checking for updates, restarting the program and the whole PC, changing AVD keyboard settings and different virtual devices with different Android versions on them (the pic shows 2.3.3).
Thanks a lot for your help!
If you click and hold (your mouse button) in the input text box, a menu should come up with Input Method Click that and a Select input method menu should appear. Select Android keyboard and you'll be back to a standard qwerty keyboard.
Try deleting the AVD instance and create a new one. It certainly looks strange but it won't take long to create a new virtual device and boot it ... certainly more constructive than pulling your hair out
I cannot get the "Devices" screen capture (as shown in DDMS perspective) to work with my Archos A80 (it works with a Samsung Galaxy).
I tried the suggestions mentioned in Android screen capture problem in Eclipse . When the running DDMS stand-alone as suggested there, I see i nthe windows console: W/ddms: Unable to get frame buffer: time out. I have already set the time out to 35000 in the DDMS options to no avail.
Any other suggestions?
I had the same problem. After I disabled "Use host GPU" it works like a charm.
I also cross-posted this answer in the question you linked: This works for me, also when Logcat ceases to work: When I disable and re-enable the debug mode on the device, everything is working again.
I think you should try this on eclipse
Go to Window -> show view -> other -> android -> devices, then click **OK**
Now select the device which you want to take screen shots and then click Capture Screen button on the rightside of the Devices screen.