Appium: Visual Studio Android Emulator: - visual-studio

Appium: Visual Studio Android Emulator: https://www.visualstudio.com/en-us/features/msft-android-emulator-vs.aspx
I am looking to use appium for mobile testing using C#. I had a look into below articles and followed the mentioned steps.
https://blogs.msdn.microsoft.com/ganesh/2016/03/13/browser-appium-visualstudio/
When I reached the point to download visual studio emulator I received the below error.
Visual studio Emulator error screenshot:
So does it mean I can't install emulator in Win 7 PC? and can't use Appium with C# for mobile testing in win 7?

Kindly check System Requirements for the Visual Studio Emulator for Android.
It says that you must have win 8 or higher in order to install this + 6GB of Ram and should be of 64 bit OS.
Please upgrade your PC and install again. It should solve the issue.

Related

Can't find Emulators when setting up Xamarin in VS community 2017

I'm trying to setup for Xamarin development, but can't find Visual Studio Emulator for Android and Windows 10 Mobile Emulator (Creators Update) under Individual Components ( those items in red in the screenshot below). All I can see the first 2 under the Emulators list Google Android Emulator(API Level 23) and Intel Hardware Accelerated Execution Manager (HAXM).
My computer specs:
8GB RAM
64-bit Windows 10 Home
Note*: the screenshot is from the instructions that I found online, not from my computer.
]1.
The Visual Studio Emulator for Android is using Hyper-V which requires Windows 10 Pro. But you can use the Google Android emulator which is using the mentioned Intel HAXM.
I tried to modify my VS enterprise 2017 15.2 (26430.13) and checked the Individual components – Emulators, the options are the same as yours, please check this following screenshot. The photo you shared is a previous VS 2017 version and looks different with the latest version, you should not follow it.
Since your OS is windows 10 Home version, you need to upgrade to the professional version, please refer to this: System Requirements for the Visual Studio Emulator for Android and it requires the 64-bit version of the Pro edition of Windows 8, Windows 8.1, Windows 10 or higher to use the VS Emulator for Android.

Xamarin - Can I develop Android apps on Windows 7 and Visual Studio 2013?

I've spent more than a day trying to install and get this up and running and it just doesn't seem to be working. I tried installing saying that I have Visual Studio.. and then when I run the app, I have no emulators. I try to install Android Emulator for Visual Studio and it says I need Windows 8.
I then again try to install Xamarin but this time i click that i do NOT have Visual Studio.. then it seems like it's download Visual Studio 2015 for me.. but then at the end, it seems like the install didn't go correctly and I don't even see an executable for VS2015 and I just don't know what's going on here.
It says here
The minimum operating system version is Windows 7. Xamarin.Forms Windows support requires Windows 8.1, and Xamarin.Forms UWP support requires Windows 10.
from https://developer.xamarin.com/guides/cross-platform/getting_started/requirements/#windows
so what am I missing here? I'm going nuts
The minimum operating system version is Windows 7. But you need Windows 7 Service Pack 1. It need for VS15 - detail
You can not use on windows 7:
-Xamarin Forms
-Visual Studio emulator for android
-can't use shared code for windows store
I advise you to be updated to Windows 10.

Visual Studio Android Emulator does not appear in debug emulator list

I'm using visual studio 2015 update 2 and Tools For Apache Cordova Update 10.
I installed Visual Studio Android Emulator with Ms Installer but after installation it does not appears in debug emulators for android (and other platforms).
the project run in Ripple correctly
the vs emulator will start and run correctly , 3 virtual machines start correctly with no problem. (Tools > Visual Studio Emulator For Android)
but i can't see the VS Emulator for debugging in the list for my apache cordova project
The Emulators are based on Hyper-V, so the feature is not available all the time. If you use a 32Bit Windows or an 64Bit Windows, but the CPU misses VT-X, SLAT support you also can't use Hyper-V. Also Hyper-V is only part of the Pro or Enterprise edition, if you only use the Home Edition you're out of luck and have to upgrade to Pro.
If you support all requirements, try to repair the Visual Studio 2015 and also update to Update 3.

What emulator to run with Visual Studio 2015 - Community edition for Xamarin to work>

I have installed Visual studio 2015 Community edition and wanted to try Xamarin for Android/iOS development. Default installation for VS doesnt show me any installed emulator with visual studio.
I am new to mobile development and not sure which emulator to install. There are options like Visual studio Android Emulator for 2015. But it wont work on my Windows 10 home edition.
Please suggest.
As Toby suggested below. I used Xamarin Player. It is not straight forward process though. I did following steps if some one is interested.
1) Installed Xamarin Android Player.
2) Had Oracle VM Box manager installed previously as part of Android SDK(I think).
3) After installing Xamarin Android Player, It prompted for the device I wanted to use. I selected Nexus 5 KitKat. After downloading required files. I tried to run the device. Got another error!! Saying 'Xamarin Fail to initialize device'.
3) I opened Oracle VM and selected the device. Clicked on Settings > System > Base memory. Reduced base memory to 1024 MB. Saved the changes.
4) Opened Xamarin Studio and re-ran the device.
Success!!!
5) Came back to Visual Studio. It started to show me the device in Visual Studio. Ran the solution and Voila! App is indeed in visual studio.
That is correct. Visual Studio Emulator for Android works only with the Pro version or higher of the operating systems Windows 8, Windows 8.1 and Windows 10. Instead of the Visual Studio Emulator for Android, you can test your Android application with the Android Player from Xamarin. The Xamarin Android Player works official with all version of Windows 7, Windows 8 and Windows 8.1. I use the Xamarin Android Player with Windows 10 without issues. Alternative you can use the Android Emulator from the SDK.

Visual Studio Windows Emulator cannot run. give "The interface is unknown" error

Can any Windows Phone Application developer help?
When i run my project, emulator starts and shut down, and the error The interface is unknown is displayed in error log in Visual Studio.
It was running fine the other day.
What should i do to get rid of this error?
If you are using Visual Studio 2010, the window phone emulator for widow phone 7 series suites your PC. if you are experiencing problems with it, simply download Visual studio 2010 service pack 1 and re-install the tools. you can also update your .net frameworks from windows update.
if you are using Visual studio 2012, then you must be using the window phone 8 emulator which runs on only 64 bit and window 8 pro (or advanced) machines. it works on the visual machine. so you can re-install your Hyper V drivers or re-install the SDK
i hope this help fix the problem permanently.
Identified what the problem was :-)
"Windows Phone Emulator-512" is compatible with only Visual Studio 2012; it is not backward compatible with earlier versions of Visual Studio. So, now i used "Windows Phone Emulator-256", it's working fine :-)
Thanks to: https://msdn.microsoft.com/library/windows/apps/ff402563(v=vs.105).aspx

Resources