I've no issue launching a Wear VD but I can't get a normal Android to start...
Working on Windows 7 - 64 bits, with Intel Core 2 Duo E8200 (so no 64 bits emulation) and 6Gb RAM.
When I try to launch a virtual device with avd,
If I try with Intel Atom (x86), I get stuck on the Android screen :
Using Google APIs Intel Atom (x86), it stays stuck on the final loading screen :
Android is starting
Starting apps.
Here are the settings :
I've tried to :
lower the emulated RAM under 768 Mb as advised (stuck earlier (at Optimizing app N of 74))
maximise emulated RAM (2048 Mb)
but that doesn't fix the problem...
Any ideas?
Okay its not the previous HAXM errors of 2015 as it was escalated with Intel and they fixed it asof summer 2015:
https://software.intel.com/en-us/forums/android-applications-on-intel-architecture/topic/536330
But that was a different set of CPUs than the on you listed
Probably since you have Windows 7 64-bit the feature may be disabled in your BIOS. The way to enable it in BIOS will be different due to the OEM of the laptop or desktop computer but usually can be found at the OEM's website as its a common asked question.
Related
When I run Genymotion and want to start a relatively new device it freezes with a strange screen but with older devices like android 5 or 7 I don't have such problem.
I updated Genymotion version, edited my devices to lower memory size and processor core number but it made no change. It doesn't stuck in booting like so many others that have problem and its status is "On".
I use:
-windows 10, Genymotion V3.1.1.
-GPU nvidia geforce GT550M 2GB
-CPU intel core i5
-display driver is updated
This is what I see in this device:
These files are genymotion log: Download Link
This is typically an issue with the GPU and/or display driver. Does your GPU meet Genymotion requirements? Is your display driver up to date?
Also, if you use a laptop with dual GPUs, make sure to read this article: https://support.genymotion.com/hc/en-us/articles/360002732678-Virtual-device-display-is-black-Genymotion-Desktop-
UPDATE:
I can see the following in the logs: Running on a Intel(R) HD Graphics 3000 from Intel It means that Genymotion is not using your discrete NVidia GPU but your low-end Intel iGP which is too low to support Android 8 and above rendering. You need to force Genymotion player (player.exe) to use your NVidia GPU instead.
See https://gpu.userbenchmark.com/Faq/How-to-force-Optimus-or-Switchable-discrete-GPUs/97
I have to work with Android Studio alongside with Docker for Windows, and as I understand, the best (only?) option for doing this on Windows at the moment is using Windows Hypervisor Platform. The problem is that the Android emulator on this thing is so slow that it's almost unusable. Starting Chrome takes several seconds, opening a simple website takes half a minute. I am new to Android development, so I may be missing something, but I tried everything I could google:
Virtualization is enabled in BIOS, and of course Windows Hypervisor Platform is enabled as well
I tried all kinds of images - API Level 28 & 26, x86 (even x86_64), with or without Google Play.
I tried increasing the image's RAM and Heap size (4096MB and 1024MB respectively).
Selecting Hardware acceleration in the image options.
Nothing of that helped or even gave me any noticeable improvement. Am I doing something wrong? It seems like Android Emulator is unusable on Windows Hypervisor Platform.
My PC specs: RAM 16GB, Intel i7 2.6 GHz
At the moment I'm developing an application with Android wear support but I have no smartwatch. Now I want to test my application on an emulator but that is the problem. The emulator need up to 1.5 hours to start. I created one with following settings:
<!-- language: lang-none -->
Target Google APIs (Google Inc.) API lev 22
CPU/ABI Google APIs Intel Atom (x86)
Device 5.1" WVGA (480x800: mdpi)
Skin No Skin
RAM 512 //also tried with 768
VM Heap 32
Internal Storage 200
Use Host GPU true //also tried with false
I installed HAXM, enabled it in the BIOS settings and if run
sc query intelhaxm
I get the status 4 like it is written here. I set the HAXM memmory to 2GB so it should be enought. I also do not run any other VM software and I have even reinstalled my Windows. The only interesting information from the LogCat is that there are many lines (up to 70%) of Suspending all threads
My computer has the following Hardware:
<!-- language: lang-none -->
Windows 7 x64
Intel Core 2 Quad Q6600
8GB RAM
Do you have any ideas why my emulator is so slow?
EDIT: Here I posted the target for a smartphone device but it's also so slow for wearable devices so Genymotion is no real alternative because it has no images for them.
Well dont know for sure but all the native emulator in android are very slow.
I suggest that you use the Genymotion which is very faster emulators for android than native.
It will give you user experience almost as of devices though it does have the same limitation of android native emulators.
Toggle your ScreenSize and Monitor dpi to get a lower scale - it will increase your speed of loading and usage.. SnapShot can also be Handy
There are several options:
One option is the Visual Studio Emulator for Android--it's fast, Hyper-V, x86, and free when you install Visual Studio 2015 (currently in Preview; free download).
Reference: Source
Run Android Image in VirtualBox.
http://www.android-x86.org/download
You can use the Intel x86 System images, I'm not sure but they might be faster
Note: I read somewhere that Anti Virus Softwares scan the Image of Emulator which make it slow. I need to confirm it.
One thing i figured out about a slow AndroidX86 in a VirtualBox...maybe it help you.
I have an older system. A Board with a P45Express chipset and only a dual core [E8400].
I have two 1 Gig LAN Ports on my Asus P5Q Deluxe Board [iam connected cia cable to my router]. One is working through the Northbrigde, the othe one works over a PCIe Lane. Since i use the PCIe Port, my AndroidX86 runs alot faster.
Before, when i used the NB supported port, it took me minutes to get a stable connection to the www. It looks like that the VM slows down hard, if the www connection is not supported by a good mainboard connection.
I dont use 3D accleration,i use VBoxSVGA and only PAE/NX and "Nested Paging".
Maybe that can help you abit.
Sorry for my bad english :/
1.Make sure you are using 64-bit operating system.
2.Use host GPU while starting Emulator.
3.Update you graphic drivers if u have graphic card
If you want to make the Android emulator faster and more responsive, you can configure it to take advantage of hardware acceleration. View this link for more details.
Configuring Graphics Acceleration
Try this configuration:
CPU/ABI: Intel Atom (x86);
Device: Nexus 5;
Keyboard: Hardware Keyborard present;
Skin: Skin with dynamic hardware controls;
Ram: 2048;
VM Heap: 64;
Internal storage: 200 MB;
SD Card: 500 MB;
Emulation Options: Use Host GPU;
You have not described which IDE you are using for development. I use Eclipse and with this configuration the emulator go up very fast. Maybe if this won't fix your problem try to use Android studio and the relative emulator which should be better (with the same configuration.
I was experiencing the same issue and almost give up on learning android until I found Genymotion. It is highly recommended.
One cause can be old HAXM driver:
Update here:
https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager
Mine was very slow with 6.0.1 but fast with 6.1.1
i want to set up an android emulator, i downloaded android 4.4 (kitkat), tools, and all the extra's
the emulator is loading forever, its already loading for 2 hours, the android startup boot logo is not laggy, so the emulator is not slow.
I rebooted multiple times, and tried different devices
my emulator:
device: 10.1" WGXA (tablet) (1280 x 800: mdpi)
Target: android 4.4 - API level 19
CPU: ARM (armeabi-v7a) <--- cant change this
Memory Options: RAM:768 VM Heap: 32
Internal storage: 4096
Emulation Options: use host GPU
Computer specs:
4.2GHz 8-core cpu
4GB ram
and lot more
if i look in task manager it is using 15%cpu, 470MB RAM and 0MB disk speed
when you're using the Windows OS, you have to set the RAM to 512Mb in order to get the AVD to run properly.
Hope this helps as 2 hours is an awful long time for the emulator to load.
Had the same problem, try starting the AVD on its own and wipe user data before trying your app.
you are running these settings
10.1" WGXA (tablet) (1280 x 800: mdpi)
CPU: ARM (armeabi-v7a)
use host GPU
you must have a SUPER COMPUTER.... try a lower resulion start with 800x400,
if you have an INTEL pc,
download the "INTEL" engine from the SDK-MANAGER.API19
then use "use the GPU" setting and choose the "engine: intel" setting when creating an emulator
if you have a non-intel, then im sorry, stick with 800x400 resolution
Open android sdk manager
Extras-> install Android Support library
I had a problem on Windows 8 64-bit, with fresh installation of Eclipse and Android SDK - Virtual device was starting "forever".
I found this thread http://gotoanswer.stanford.edu/?q=android+emulator+forever+launching and link to
Can having spaces in the android sdk path cause problems in eclipse?
Solution: I moved Android SDK from
C:\Program Files (x86)\Android\android-sdk
to
c:\android-sdk
Changed location in Eclipse, and this fixed a problem for me. Now AVD launches normally. I have not found any other comments on the reason or explanation.
I hope it will help someone else.
I've created simulator for S4 as described in https://stackoverflow.com/a/16646536/206809.
My PC configuration is Core i5 2.5 GHz and 8GB RAM 64Bit Windows 8 still I'm unable to load the emulator. Are you able to run the same ? Please suggest if I'll require higher config. Attached my Emulator Config for reference
When I'm running same it stuck in this screen for a long and then time out.
tick "Use Host GPU" and try. Some times it may work.
Not sure.
Try this one:
I have opened successfully s4 emulator and it's working fine. I think you should reduce size of RAM, Internal storage, and sdcard of emulator according to your computer RAM example I have 4 GB ram in my pc and I have changed according to it like :
RAM : 512,
Internal Storage : 128,
Sdcard : 256.
and
also reduce screen size of your emulator(in my case I have used 5) should be 5 to 7. More Screen size of emulator takes more time to open.
so according to my knowledge size should be your issue.
hope it will help you.
Emulators have been driving me crazy for long time because they are so slow. I had no problems
using emulators on android 2.3, 2.2 etc. It takes for ever to load an emulator for android 4.0 and above and most for the time it won't even load. The high resolution you try to you use, the less chance for emulator to start.
I run my emulators on windows 7. Anyway, after a long search, i came a cross this link. http://developer.android.com/tools/devices/emulator.html.
Thanks to intel VM Acceleration for windows. Emulators runs on my laptop in seconds. Its not perfect yet but it does the job. I thought i'd share this, because i wished i knew about it long time ago.
Note: CPU must support one of the following virtualization extensions technologies:
Intel Virtualization Technology (VT, VT-x, vmx) extensions
AMD Virtualization (AMD-V, SVM) extensions (only supported for Linux)
and if it does support VT, remember to enable VT .