Android emulator doesn't scroll back UP - android

Trying to use the AVD in Eclipse Kepler on Windows 7 Pro.
Nexus 7 2012 with the Level 19 (4.4.2) APIs and the Intel Atom processor.
Every listview, once scrolled down, immediately scrolls to the bottom and stays there. I can start to drag the list back towards the top, but as soon as I let up on the mouse button, it bounces back to the bottom of the list. This is for ANY list - system settings, app listings, etc., as well as my custom coded HTML5 app.
Has anybody ever seen that before? A Google search turned up nothing useful...
-Paul-

To solve this issue follow the steps below:
Click on virtual device manager and then select the AVD that you are using.
Now, click on edit and choose CPU/ABI as ARM.
Click ok and and run your project again. The scroll view will work properly.

I had the same issue - solved it by changing the Virtual Device to use ARM CPU instead of Intel Atom
(Change under Run -> Run Configurations -> Target -> Your virtual device -> Manager.. -> Your device -> Edit... -> CPU/ABI: Change to ARM)

Related

Two-Finger touchpad scroll not working on Android Studio?

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.

Unable to turn on "Snapshot" in Android Studio AVD Manager & save it

Android Studio 2.1.3 on Windows 10 64 bit.
I go to Tools->Android->AVD Manager.
It shows me an error "Android Virtual Device" failed to load - click Details to see the error.
When I click Details, it does not show any error.
When I click on Edit & try to turn of "Host GPU" & turn on "Snapshot" option, the OK button remains grayed out - so I cannot save the Snapshot Option.
The emulator itself runs fine - however, how do I turn on the Snapshot option.
Try going to your SDK manager and making sure everything is updated. Your options are slightly different and I believe it's because you are using an older version.
They now have the Emulator Accelerator. You can also select to run off of your hardware and choose the number of Cores from your CPU to assign to the virtual device.
accroding to this image http://imgur.com/cWqmDgH you have not set skin ..so please choose skin option then you will be able to see ok button

Eclipse Android Emulator not working on Microsoft Surface Pro

I cannot get an Android Virtual Device to launch on my Surface Pro. I have had no problems on Windows XP, 7, or OS X.
I have tried launching from the AVD Manager, it opens the option dialog and when I select launch it acts like it is working, however the emulator never shows up.
When I select Run As Android Application from a project it acts like it is starting, once again nothing ever shows up.
Either way I get no error messages in the console.
I have tried disabling UAC.
Thanks for your help.
Right-click the program's icon and choose Properties.
When the Properties dialog box appears, click the Compatibility tab and then click the Run Compatibility Troubleshooter button.
Windows 8 tries to guess what version of Windows your program needs, and then it applies the changes. If the program begins working, you're through.
If the program still has trouble, though, move to Step 3.
In the Compatibility Mode section, select the Run This Program in Compatibility Mode For check box and select the program's desired Windows version from the drop-down list.
http://www.reddit.com/r/Surface/comments/1ael60/surface_pro_and_dj_software_also_android/
Please refer to my question and answer here:
< Android Emulator and AVD will not run on Surface Pro >
As it turns out you can run the Android Emulator and AVD on the Microsoft Windows 8 Surface Pro.
You will need to rollback the graphic drivers:
< http://answers.microsoft.com/en-us/windows/forum/windows_8-hardware/latest-graphics-driver-update-makes-bluestacks/1f67d99f-3626-4110-aa22-773856b226cb > Method 1: I would suggest you to roll back to the previous driver.
a) Press Windows key + X on the keyboard.
b) Click Device Manager.
c) Double-click on Display Adapters.
d) Double-click on your Graphic Card Drivers
e) Select the Driver Tab
f) Click on Roll Back Driver.
I still recommend using Bluestacks as an alternative method for Android Emulation.

Android use Host GPU wraps screen and puts menu bar on top?

After I installed HAXM and enabled HOST GPU, my screen for my virtual machine looks a bit off. The physical menu bar is now on the top, and to click any button you have to hover approx 10px above the button. So to click the top HOME button, i have to click 10px above the BOTTOM of the screen because the screen seems to be wrapped. Any help?
Try not to create it from snapshot. If it doesn't help re-create it.
This issue hasn't been fixed yet
androidprotip : Configuring an AVD to use graphics acceleration
You need Android SDK Tools rev 17 or higher, then start by creating a new AVD with the target value of Android 4.0.3 (API Level 15), using SDK rev 3 and System Image rev 2 (or higher).
If you want to have graphics acceleration enabled by default for this AVD, in the Hardware section of the AVD configuration, click New, select GPU emulation and set the value to Yes.
You need to make sure to hit enter when you change the value in the list before closing the dialog.
You can also turn on graphics acceleration at run time:
emulator -avd -gpu on

Cannot see debug output when running android emulator

I've setup android in eclipse according to this tutorial. I downloaded the android sdk zip file from here and unzipped it to my c drive. Android sdk 2.3.3 api level 10 is installed and I have setup an android virtual device in the android SDK and AVG manager. The settings are as follows
In Eclipse, when I go to - 'Window -> Show View -> Android -> LogCat', the logcat view opens up. When I start the emulator however, I see absolutely nothing in the logcat window. Any ideas why this might be happening?
==============================================================================
Update Unfortunately none of the suggestions are working. I don't see anything
in my devices tab at all. It's empty. See image below.
In that case try to reset adb.
Go to the Devices view in the DDMS perspective.
Click on the View Menu button that looks like a down arrow.
Select Reset adb.
Of course you'll have to select an application on that device first.
Try opening the DDMS perspective (in Eclipse, Windows -> Open Perspective -> DDMS), then select the device in the Devices tab (by default in the upper left hand corner). Also make sure the LogCat window is showing too.
I've noticed that sometimes the LogCat window stops updating, but changing the filter (Verbose-Debug-etc) by clicking the round white buttons with letters inside fixes it.
Probably device is not selected for your logcat.
try 'Window -> Show View -> device and then select the emulator
May be because your device is not is not selected
In your Devices tab (where all the running emulators and devices are shown), select your desired emulator
If your eclipse didn't shows Devices, then Window -> Show View -> Android -> Devices
Close the logcat window completely ... kill it ... it's stuck ... then Window-> Show View -> Other -> LogCat

Categories

Resources