CPU does not support virtualization. How can I use genymotion emulator for android studio then? - virtualization

I am using Ubuntu 14.04 (LTS) 32 bit. I have Intel® Pentium(R) Dual CPU E2200 # 2.20GHz × 2 that does not support virtualization. How can I run a genymotion emulator for android studio....

just search ubuntu genymotion - you'll get http://ubuntuhandbook.org/index.php/2014/02/install-android-emulator-ubuntu-linux/

Genymotion is an Android virtual machine, not an emulator. Your processor must support virtualization in order to host a virtual machine, period. Your alternative is to use an Android Virtual Device (AVD), also known as an emulator. You can download AVDs for various API levels via Android Studio under Tools -> Android -> SDK Manager, and then configure them under Tools -> Android -> AVD Manager.

Related

Running Android Emulator on Azure VM

I have been trying to run an Android Emulator on a Windows Azure VM.
The VM is a Standard D4s v3 (4 vcpus, 16 GiB memory) running Windows Server 2016, so it
should support nested virtualization.
I have installed and configured the following:
Android SDK, version 30.1.5.0
Hardware acceleration:
Intel HAXM 7.6.1
Tested Android versions: 7.0, 7.1, 8.0, 8.1, 9.0, 10.0
GPU mode used: swiftshader_indirect
I keep getting an exception popup regarding the GPU as follows:
GPU #1
Make: 1414
Model: Microsoft Basic Render Driver
Some users have experienced emulator stability issues with this driver version.
As a result we're selecting a compatability render.
Is it possible to run an Android Emulator on a Windows Azure VM?
According to the docs from Microsoft, Android Emulator only runs on the Hosted macOS agent.

Can't install HAXM with Hyper-V disabled, AMD processor

When I try to install HAXM I get the error:
This computer does not support Intel Virtualization Technology (VT-x) or it is being exclusively used by Hyper-V. HAXM cannot be installed. Please ensure Hyper-V is disabled in Windows Features, or refer to the Intel HAXM documentation for more information.
But in Windows Features Hyper-V is disabled: hyper-v disabled in features
In my system info, I have "Hyper-V - Virtualization Enabled in Firmware" as "No"; does has something to do with the problem?: hyper-v system info
My processor is an AMD, can I even have HAXM in and AMD pc?
If not, what can I do to run an Android emulator? (With Android Studio).
https://developer.android.com/studio/
Requirements and recommendations
The Android Emulator has additional requirements beyond the basic system requirements for Android Studio, which are described below:
SDK Tools 26.1.1 or higher
64-bit processor
Windows: CPU with UG (unrestricted guest) support
HAXM 6.2.1 or later (HAXM 7.2.0 or later recommended)
The use of hardware acceleration has additional requirements on Windows and Linux:
Intel processor on Windows or Linux: Intel processor with support for Intel VT-x, Intel EM64T (Intel 64), and Execute Disable (XD) Bit functionality
AMD processor on Linux: AMD processor with support for AMD Virtualization (AMD-V) and Supplemental Streaming SIMD Extensions 3 (SSSE3)
AMD processor on Windows: Android Studio 3.2 or higher and Windows 10 April 2018 release or higher for Windows Hypervisor Platform (WHPX) functionality
To work with Android 8.1 (API level 27) and higher system images, an attached webcam must have the capability to capture 720p frames.

I have got an AMD Ryzen CPU and Android emulator doesn't work

I have got an AMD Ryzen CPU and Android emulator doesn't work.
It doesn't start the emulator becouse the CPU doesn't support the x86 emulator
Update - My previous answer is no longer true. Google has added AMD and Hyper-V support into their latest beta. Thanks to ReverseCold for letting me know. Please see his answer below.
Update 2 - I had to set this up today. To save some googling, here is the powershell command to enable Hyper-V. Pulled from Microsoft's Docs
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All
Make sure to run powershell as an administrator.
Update 3 - Turns out there's a difference between Windows Hypervisor Platform and Hyper-V. You'll need to enable the first one for Android emulation to work. Just click start and type Turn Windows features on or off until you see the control panel option of the same name. Then enable the feature from the menu that pops up after clicking that.
According to This answer, AMD virtualization for Android is only supported on Linux. If Ryzen becomes hugely popular, maybe they'll write one for Windows, but I won't be holding my breath.
The latest beta has support for Ryzen. Source
The following is from the google blog post: If you have an AMD processor in your computer you need the following setup requirements to be in place:
AMD Processor - Recommended: AMD® Ryzen™ processors
Android Studio 3.2 Beta or higher - download via Android Studio Preview page
Android Emulator v27.3.8+ - download via Android Studio SDK Manager
x86 Android Virtual Device (AVD) - Create AVD
Windows 10 with April 2018 Update
Enable via Windows Features: "Windows Hypervisor Platform"
Here is a list of ways to get around it:
genymotion personal is free but you need to register
Visual studio android emulator is also free and is fast. I had issues with it disconnecting on android studio
Physical device. You will have a hard time trying to see the sqlite database if it isn't rooted.
With the physical device you can download Vysor on play store and install the extension on google chrome. Then you can have the physical device on your monitor.
I managed to run the Android emulator on Windows 10 (AMD Ryzen 5 2600) after installing the KB4505903 update.
In my case, only two configuration requirements were needed:
Windows 10 May 2019 Update (1903), OS Build 18362.267
Enable via Windows Features: "Windows Hypervisor Platform" ("Платформа низкоуровневой оболочки Windows")
Gennymotion should work for amd users. I emailed them and they said yes it should work.
check here to see their specific requirements.
Yeah I have AMD CPU somehow it works now.
I don't have x86 installed by HAXM and it still works strange.
Gigabyte CPU/AMD Ryzen 7 ->
MIT Settings -> frequency settings -> advanced -> have SVM enabled
Go to windows turn on and off feature
-> if you're using windows home, not pro edition, then you need to find "windows Hypervision platform" then check mark it.
Create a new AVD virtual device, the newest version may or may not work. You have to do trial and error with different API versions like 25, 26, or newest one.
Somehow on SDK Tools, i don't have x86 intel HAXM installed, and it works fine? Does anyone know why it works without intel x86 on my AMD CPU? When i uninstalled it and did everything else again, it finally worked... Strange..
If you have an AMD processor in your computer you need the following setup requirements to be in place:
AMD Processor - Recommended: AMD® Ryzen™ processors
Android Studio 3.2 Beta or higher - download via Android Studio
Preview page
Android Emulator v27.3.8+ - download via Android Studio SDK Manager
x86 Android Virtual Device (AVD) - Create AVD
Windows 10 with April 2018 Update
Enable via Windows Features: "Windows Hypervisor Platform"
**Note:There is Hyper-V features... You should enable Windows Hypervisor Platform not Hyper-V. Windows Hypervisor Platform is at the bottom of features **
I know I am a bit late to answer this but after a few hours of research and verification, here is what I have found. As of July 2018, if you run AMD Ryzen CPU/APU, you should be able to run Android emulator. (see link). It does not work on my old AMD Phenom II X6 because the CPU needs to support SSSE3 and SSE4.1 features. I guess it's time for me to upgrade :) The toast message I received was "Emulator: emulator: WARNING: Host CPU is missing the following feature(s) required for x86_64 emulation: SSSE3 SSE4.1"
You can follow the instructions in the link above, although I also had to do these in my Android Studio.
In the Tools menu > Android SDK > SDK Tools (tab) > Uncheck the option "Intel x86 Emulator Eccelerator (HAXM installer)".
Go to Tools menu > AVD Manager > Ceate a new virtual device (choose an image for the x86-64 platform)
A related question was asked here - Ryzen 3 with VS android emulator - I've responded there and so thought to cross-link in case others missed it.
This might help you:
https://www.reddit.com/r/Amd/comments/cgpaq4/ryzen_android_emulator_whpx_fix_for_windows/
The issue seems to be to do with Windows and has been fixed in the insider builds - you can get it working by following the link above, and without having to become a Windows Insider.
--
Unfortunately After turning on Windows Hypervisor Platform I can not change the resolution window. It was fixed at non resolution recommended. I do not like at all. Here is my computer's information

Visual Studio Android Emulator couldn't install

I should install VS Android Emulator but I can't. Because VS Android Emulator doesn't show in installer. I use Macbook Pro that installed Windows 10 Education and it support VT. Also I has installed Hyper-V and I can start virtual machine. I has tried for VS 2015 Community and Enterprise but it hasn't emulator. What can I do to install VS Android Emulator and What is system requirements?
Edit:
I upgrade Windows to Enterprise edition and Android Emulator is working. I think Windows 10 Education Edition is not fine for Hyper-V.
The VS Emulator for Android requires Hyper-V, which is only available in certain versions of Windows 10. Windows 10 Home and Education editions do not have Hyper-V, so you'll need Windows 10 Pro or greater to use the emulator.
Try installing the emulator by itself from this link:
https://www.visualstudio.com/en-us/features/msft-android-emulator-vs.aspx
The VS Emulator for Android does not work on Windows 10 (for me).
My advice is do not worry because there are much better options. I use Genemotion & VirtualBox with Hyper-V disabled and it is great. Also, the Google Android emulator with HAXM is great.
Google emulators include two versions (with and without Google APIs). And I've been able to successfully install Google Play services in Genemotion on 4.4.4 hosts.
Therefore, either the Google or Genemotion options are extremely more useful than Microsoft's VS Emulator for Android on Hyper-V (even if it worked on Windows 10).

Can I use any other emulator other than HAXM emulator to create an android app?

I wanted to create an android app. Therefore I installed Eclipse IDE and installed other required SDK packages. But when I tried installing HAXM emulator my system did not support the virtualisation technology. Is there any other emulator that I can use or is there any way that I can create an android app online and run it online.
Try the Visual Studio Emulator for Android if you're on a PC. It's a fast, x86, Hyper-V emulator and comes free with Visual Studio 2015 (you can try out CTP5 here)