Why am I getting the Classic qemu warning?
Android Studio Version 2.1.2 (from stable channel)
Android 4.3.1 (API 18)
Emulator Version: I don't know
Android SDK Tools: 25.1.7
Host Operating System: Windows 7 Ultimate 64-bit
Processor : AMD A8-5600K APU with Randeon(tm) HD Graphics 3.60 GHz
This is an example of what appears when I run an emulator:
C:\Users\soda\AppData\Local\Android\Sdk\tools\emulator.exe -netdelay none -netspeed full -avd gaby_API_18
emulator: WARNING: Classic qemu does not support SMP. The hw.cpu.ncore option from your config file is ignored.
emulator: warning: opening audio input failed
I get the same behaviour when I run the API 18 image. I guess this image only runs under classic QEMU rather than QEMU2. So far it seems to me that only API 19 and higher use QEMU2.
It seems that something is setting "hw.cpu.ncore" to 2 in hardware-qemu.ini for the emulator image. You might be able to remove the warning by removing that line from the file. However, I don't think the warning is doing much harm.
Related
I can not start the android emulator on my machine. I can see the phone "frame" but the content is black.
I also tried to start the emulator from command line and I get the following error messages:
./emulator -avd Pixel_3_Edited_API_28
emulator: Android emulator version 30.5.5.0 (build_id 7285888) (CL:N/A)
handleCpuAcceleration: feature check for hvf
emulator: WARNING: Host CPU is missing the following feature(s) required for x86 emulation: SSSE3
Hardware-accelerated emulation may not work properly!
emulator: WARNING: Not all modern X86 virtualization features supported, which introduces problems with slowdown when running Android on multicore vCPUs. Setting AVD to run with 1 vCPU core only.
cannot add library /home/ps/Android/Sdk/emulator/qemu/linux-x86_64/lib64/vulkan/libvulkan.so: failed
added library /home/ps/Android/Sdk/emulator/lib64/vulkan/libvulkan.so
cannot add library /home/ps/Android/Sdk/emulator/lib64/vulkan/libvulkan.so.1: full
host doesn't support requested feature: CPUID.01H:ECX.ssse3 [bit 9]
host doesn't support requested feature: CPUID.01H:ECX.sse4.1 [bit 19]
host doesn't support requested feature: CPUID.01H:ECX.sse4.2 [bit 20]
qemu-system-x86_64: can't open backing store /home/ps/.android/avd/Pixel_3_Edited_API_28.avd/snapshots/default_boot/ram.img for guest RAM: Permission denied
qemu-system-x86_64: falling back to regular RAM allocation.
emulator: INFO: GrpcServices.cpp:301: Started GRPC server at 127.0.0.1:8554, security: Local
Is my computer to old? Do I need a newer CPU?
System
CPU: AMD Phenom II X4 965
Linux Mint 19.3
Yes your computer is too old, see
emulator: WARNING: Host CPU is missing the following feature(s) required for x86 emulation: SSSE3
even you are lucky enough to be able to start it, it would not be in usable performance. You should either buy a new computer or use a cloud service to do it. Any recent i5 desktop with like 8gb ram should have given you usable performance.
OS: Linux Mint 19.1
Android Studio: android-studio-ide-191.6010548-linux
CPU: AMD Phenom(tm) II X4 965 Processor
RAM: 16GB
API Level: 22 ; Android: 5.1
I am following this guide: https://codelabs.developers.google.com/codelabs/build-your-first-android-app/#2
I've reached step 5 but the emulator doesn't start.
I have tried using both Hardware and Software GPU.
I have set hw.audioInput and hw.gps to no
Running the emulator from ~/Android/Sdk/tools using the command ./emulator -avd 7_WSVGA_Tablet_API_22 -netspeed full -netdelay none returns the following:
emulator: WARNING: encryption is off
emulator: WARNING: Host CPU is missing the following feature(s) required for x86 emulation: SSSE3
Hardware-accelerated emulation may not work properly!
emulator: WARNING: Not all modern X86 virtualization features supported, which introduces problems with slowdown when running Android on multicore vCPUs. Setting AVD to run with 1 vCPU core only.
emulator: INFO: QtLogger.cpp:68: Warning: QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled ((null):0, (null))
host doesn't support requested feature: CPUID.01H:ECX.ssse3 [bit 9]
checkValid: hw configs not eq
So a bunch of warnings that I can't clear.
What do you think ?
Make sure HW virtualization support is enabled in bios. Also look here: https://developer.android.com/studio/run/emulator-acceleration.html
I am trying to run "cordova emulate android" on the default hello cordova project, however when I run it I get an alert saying "cold boot: snapshot doesn't exist", and the emulator screen simply stays black. Here is the terminal output:
BUILD SUCCESSFUL in 3s
47 actionable tasks: 1 executed, 46 up-to-date
Built the following apk(s):
/home/marc/Documents/Tests/cordova/hello/platforms/android/app/build/outputs/apk/debug/app-debug.apk
ANDROID_HOME=/home/marc/Android/Sdk
JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
No emulator specified, defaulting to test
Waiting for emulator to start...
emulator: Requested console port 5584: Inferring adb port 5585.
emulator: WARNING: Host CPU is missing the following feature(s) required for x86 emulation: SSSE3
Hardware-accelerated emulation may not work properly!
emulator: WARNING: Not all modern X86 virtualization features supported, which introduces problems with slowdown when running Android on multicore vCPUs. Setting AVD to run with 1 vCPU core only.
warning: host doesn't support requested feature: CPUID.01H:ECX.ssse3 [bit 9]
emulator: WARNING: Not saving state: emulator hasn't finished booting.
How can I fix this?
P.S. I am using andorid api version 26 on Ubuntu 16.04.3 LTS
I answered a question similar to this here. Quickly: The issue might be your CPU hardware. Certain AVD Google API levels do not run well on CPUs that do not support certain features; in your case 'SSSE3'. Try an older AVD Google API level <= 20.
I have tried my best to solve it using the solutions available here but nothing has worked so far.
Kindly help me to resolve this error.
Emulator crashes...
init: Could not find wglGetExtensionsStringARB!
emulator: WARNING: Crash service did not start
emulator: WARNING: encryption is off
emulator: WARNING: Not all modern X86 virtualization features supported, which introduces problems with slowdown when running Android on multicore vCPUs. Setting AVD to run with 1 vCPU core only.
Hax is enabled
Hax ram_size 0x20000000
path C:\Users\Abid\.android\avd\Nexus_5X_API_23.avd\system.img.qcow2
HAX is working and emulator runs in fast virt mode.
emulator: WARNING: The -scale flag is obsolete and will be ignored.
you can use genymotion as a emulator. its provide all the api versions, u can download it for free of cost.
link for downloading the genymotion emulator : https://www.genymotion.com/
For using google play store in it , we need to install some additional things to it
I think your computer does not support Intel Virtualization Technology or it is not enabled in BIOS.
Create a new emulator and choose arm instead of x86/x64.
ARM images which will not need hardware virtualization
Create Virtual Device->Select hardware->System image(go to other images tab)->Select one.
Cannot launch AVD in emulator.
Output:
emulator: WARNING: Classic qemu does not support SMP. The hw.cpu.ncore option from your config file is ignored.
emulator: ERROR: x86 emulation currently requires hardware acceleration!
Please ensure Intel HAXM is properly installed and usable.
CPU acceleration status: HAXM must be updated (version 1.1.1 < 6.0.1).?
[PS I have installed Intel 86 emulator accelerator(HAXM installer) 6.2]
Install HAXM and setup as detailed in the link below:
https://software.intel.com/en-us/android/articles/installation-instructions-for-intel-hardware-accelerated-execution-manager-windows
The Alternate Solution could be the Genymotion for personal use
https://www.genymotion.com/fun-zone/
you can use genymotion for your emulator