So I have this interesting case where I have tried 3 different emulators on my PC:
Bluestacks, Nox and Memu
All of them are so much laggy. Nox works a bit better but you can't really play a game with it, still slow.
This is what I have tried so far:
Enabled virtualization. LeMoon says everything is alright
Updated the drivers for my graphics card and chipset (and almost everything else)
allocated 2 cores of CPU and 2048 MB ram to Nox
Nothing worked.
PC Specs:
HP Core i3 with Windows 10 (64 bit)
RAM - 4 GB DDR4
CPU Type - Intel(R) Core(TM) i3-6006U CPU # 2.00GHz
Intel SSD
Graphics Chipset
AMD Radeon(TM) R5 M430
Memory Size - 2048 MB
Memory Type - DDR3
Memory Clock - 1000 MHz
Core Clock - 1030 MHz
Total Memory Bandwidth - 16 GByte/s
Now, the same Nox setup works flawlessly on my secondary laptop which is just a second generation Core i5 with 4GB DDR3 RAM and a regular Hard drive instead of an SSD but running on 64 bit windows 7 (with VT enabled).
Any ideas?
Can windows 10 have an impact?
You do not have enough configuration on your PC and you want emulators to work properly?
For Android Studio and Emulators to work properly in Windows machine, you at least need 8GB of RAM with a 2GB Graphic Card.
Try upgrading the configs of your system and it will become better.
My Mac has only 2GB of Ram and it works like a charm. So reconsider.
Hope it helps.
Related
I know this is a duplicate but i am unable to comment on this thread in order to find out a solution. I have done exactly as the accepted answer but my problem isn't solved.
I am running Ubuntu 17.04 on a laptop with Intel Core i7 4th Gen Processor, 8GB RAM, 256GB SSD and Dual Graphics.
I have installed nVidia Prime drivers and switched to Intel graphics card because it performs better than the nVidia.
I have created a Virtual Device with the following settings:
Device: Google Pixel with API 26
Graphics: Automatic(i have tried both software and hardware btw).
RAM: 4096MB
VM Heap: 1024MB
Internal Storage: 4096MB
First, reduce the RAM of the emulator image to something more reasonable (1024MB, perhaps 1536MB). Do not allocate half of your development machine's RAM to an emulator.
Second, confirm that you are using an x86 emulator image (or perhaps x86-64). This shows up in the CPU column of the AVD Manager.
I'm trying to enable virtualization on my PC. I currently have Ryzen R5 1600 with a ASRock AB350 MOBO. I have tried looking for the AMD-V in BIOS and have made sure that SVM is turned on in my BIOS. I am on Windows 10 Home. I can't seem to find it.
I'm trying to enable this so I can emulate an Android device. Has anyone ran into something like this before?
ryzen is not supported by android studio
Windows 10 home dont have the option of virtualization/hyper-v at all, and even if you install windows 10 pro version you cant use it due to intel monopoly.
although you can use the virtual ADB by installing arm based emulator, which is super slow as you cant use your GPU to compliment the power.
instead use bluestacks:- keep in mind to run bluestacks before android studio.
keep in mind to enable SMT and SVM from bios (usually located at OC page)
My PC Specs:
Ryzen 1700
32 GB 2400Mhz RAM
960 EVO M.2 NVMe
500 GB HDD
GTX 1050ti
To elaborate on the title, I'm running many simultaneous AVD's for my automated build/test processes (think concurrent builds for a project, or multiple projects building at once). Most problems that people have with running multiple HAXM accelerated AVD's at once is memory related. THIS IS NOT MY PROBLEM (I think). I have a pretty beefy i7 machine with 32gb of ram. When installing HAXM, I allocated 28gb (sorry, I can't post more pictures without more rep).
Here is my AVD configuration(s). Observe, only 1024mb of memory allocated per emulator:
AVD Config:
Here are my system specs:
OS Name Microsoft Windows 7 Enterprise
Version 6.1.7601 Service Pack 1 Build 7601
Other OS Description Not Available
OS Manufacturer Microsoft Corporation
System Name DUCHT1-DS1
System Manufacturer Dell Inc.
System Model OptiPlex 7040
System Type x64-based PC
Processor Intel(R) Core(TM) i7-6700 CPU # 3.40GHz, 3401 Mhz, 4 Core(s), 8 Logical Processor(s)
BIOS Version/Date Dell Inc. 1.2.8, 1/26/2016
SMBIOS Version 2.8
Windows Directory C:\WINDOWS
System Directory C:\WINDOWS\system32
Boot Device \Device\HarddiskVolume2
Locale United States
Hardware Abstraction Layer Version = "6.1.7601.17514"
User Name Not Available
Time Zone Central Daylight Time
Installed Physical Memory (RAM) 32.0 GB
Total Physical Memory 31.9 GB
Available Physical Memory 29.5 GB
Total Virtual Memory 63.8 GB
Available Virtual Memory 61.2 GB
Page File Space 31.9 GB
Page File C:\pagefile.sys
I can run 8 emulators at once, I would post an image if I could. I'm only using ~16gb of my 32gb of ram when they're all running. (2048mb per emulator at this moment in time). No matter what I do, I cannot run more than 8 emulators. I can run 8 emulators with 1gb, 2gb, or 3gb memory allocated per device simultaneously. I've tried 32bit vs 64bit intel images. There is clearly a limit beyond that of memory that is enforcing this.
The error message I get when starting my 9th emulator (Note, I started counting emulators at 0):
9th emulator boot error
"Failed to create HAX VM. No accelerator found."
The only thing I could think of where the number 8 might be coming from would be the fact I have 4 cores == 8 logical processors. That's a wild guess though. Any help would be greatly appreciated.
It is due to a hardcoded variable in the HAXM. You can solve this problem by downloading the latest HAXM from the Github page, which will set an limit of 64 guests instead of 8.
Type this in the command line:
sc stop intelhaxm
then:
sc start intelhaxm
And then your emulator should work.
I have 16GB RAM and installer recommends 2GB. I set it to 4GB. Will I see any improvements for "Hello world" programs is I set 2,4 and 8B?
I found some ideas how to run android emulator faster, but for Nexus 4 configuration still it doesn't work correctly.
My PC:
AMD Phenom II X4 955 (4 x 3,20Ghz)
4 GB ram memory
ATI 5750
Windows 7 64bit
Virtual Device Configuration:
Name: Nexus 4 ;)
Device: 4.65" 720p (720 x 1280: xhdpi)
Target: Android 4.2.2
Skin: Display a skin with hardware control - checked
RAM: 756
VM Heap: 64
Internal Storage: 200MiB
PC is very fast updated but without SP1 - because after SP1 some games and application were working slower for me then before SP1.
So, main issue is: emulator works all the time with 'lag'.
For ex: I clicked 'menu' button and then I was waiting 3s to see list of apps.
And everything on emulator is working like this. It is very tiring to make good tests.
Do you have some ideas how can I improve it?
Best Mob86.
The emulator runs at a usable speed with top end machines, but has a slight delay on older ones. There is no need to run the AVD on a Virtual Machine. But it seems to be faster that way. The emulator takes long to startup but you don't have to close it after testing, the reason for this is it is starting up the android OS, much like booting windows.
What you can do?
Disable boot animation (speeds up boot time)
Use Host GPU (use with nvidia cards, renders with your GPU)
Snapshot (boots up from snapshot of previous boot)
Further info can be found here.
I am using: http://www.genymotion.com/ this is virtual android device based on VirtualBox and run faster than nexus 4.
Start the emulator using this cmd line
emulator -no-boot-anim #your_emulator
It reduce 50% boot time..