Visual Studio Android Emulator couldn't install - android-emulator

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).

Related

Is there any way to run a flutter windows app on mac?

I've enabled the support for windows-desktop on flutter... but is there any way to compile and run the windows flutter app on macOS?
As of now! Unfortunately, "build windows" is only supported on Windows hosts.
However, you can have have virtual tools to help you build on Mac for example
Apple Boot Camp
The Boot Camp Assistant app is pre-installed on every recent Mac, and launching it will walk you through the process of installing Windows 10.
Parallels Desktop
Using Parallels Desktop 11, you can run Windows apps side-by-side with existing Mac applications, including Visual Studio and Cortana.
VMWare Fusion
Fusion 8 from VMWare will let you run Visual Studio right on your Mac desktop.
Oracle VirtualBox
VirtualBox is a free application for running virtual machines on your computer, and it supports running Windows on Mac.
Once you have these tools, you can install windows and start developing on Windows but virtually through Mac host.

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

Android Studio and Eclipse ADT on Windows 10?

**Good day!
I am an IT student that is currently working on my Android app project and my laptop frequently notify me whenever I open to upgrade to Windows 10, (I am a genuine Windows 8.1 user installe on my Dell Vostro 5460).
Now, my question, is Android Studio and Eclipse ADT compatible with Windows 10? It is because I want the Windows 10 experience, but I have doubt that it will not be compatible with Android Studio and Eclipse ADT. Please help me with my question. Thanks you very much.**
Android Studio had I installed on the Windows 10 Technical Preview and it works. I could it open and develop a new Project.(I don't know what happend with a old project, but i think it must be work also.)
For a Tutorial how you install Ecplise i found this:
https://salesforce.stackexchange.com/questions/55390/how-do-i-install-eclipse-and-java-sdk-into-windows-10
Is it this what you mean?

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)

Running Samsung TV Apps SDK 3.5.2 on Boot Camp - The OS became unstable

I'm using a MacBook Air with bootcamp and Windows 7 Professional installed.
When trying to to launch Samsung TV Apps SDK(IDE) 3.5.2 Windows crashes after few minutes with a bad blue page.
It looks like Samsung TV SDK attempts to write something to my Mac HD and fails operations.
I would like to know if you have the same issue and your work around.
After digging the problem I found out a solution:
I renamed the file
C:\windows\system32\drivers\AppleMNT.sys
to
C:\windows\system32\drivers\AppleMNT.sys.bak
This resolved the issue in my case,
I had also to install “vcredist_x86.exe” from “Microsoft Visual C++ 2005 Service Pack 1 Redistributable Package ATL Security Update” as it is also required in SDK 3.5.2
If you have other solutions please let me know.