Windows UWP development problems (Windows 10 Emulator and Xamarin) - xamarin

I have a few problems that are driving me nuts.
I have the latest Windows 10 SDK (10586.212) and Emulator 10586.11. I have seen before (https://developer.microsoft.com/en-us/windows/downloads/sdk-archive) that the Emulator for 10586.212 is available too, so I download it.
All good till here. That the problem is when I want to install it it says I must uninstall the previous version 10586.11. Ok, no problem, I do it and re-run the install. And than it shows that it wants to install 10586.11 emulator again. Wtf ?
I was thinking it is just a typo error and press install, but no, it did install 10586.11. How can I get the emulator for 10586.212 ?
And another problem for Xamarin Studio. I installed xamarin tools and I have it in visual studio, but it didn't install xamarin studio ?
Thanks.

you should have to change settings of Hyper V. then try to install emulator it will working perfect.

Related

how to add windows phone emulator to the uwp project

Now I'm updating someone's UWP project.
I use Visual Studio 2017 on windows 10 64bit.
Building is successful.
But When I run this project, I got an error.
DEP6200: Bootstrapping failed.Device cannot be found.
SmartDeviceException - Deployment failed because no device was
detected.
I think, the reason is that I didn't use real windows phone.
So that I wanted to use windows phone emulator.
But I don't know how to add emulator to running option.
When I created new UWP project, I could find emulators which are connect to that project.
Anyone solved this issue?
You have to install Emulators.
Please take a look at this page and download them Windows Emulator archive .
Simply choose your emulator version that you want to debug your app and then Click INSTALL EMULATOR , After installation Restart Visual Studio .
To use emulator there are some prerequest, you can check it from here.
That's to say, first ,you need to make sure you followed the system requirements.
Then you have to install emulator like MKH said. And at last, set the CPU to ARM and choose the emulator you need, run the project and you will see the result.

Android Emulator not Working on OSX

I am trying to test my NativeScript Application on an Android emulator. So I followed the NativeScript instructions and installed the sdk and set up the emulator as instructed. But whenever I want to run an emulator (manually from Android Studio), nothing happens. I can see the "starting AVD" message on the bottom of Android Studio but there is no emulator popping out and no error displayed. Can someone tell me what might be wrong or where I can "debug" to see if he throws an error?
I had installed android-sdk using brew as well as Android Studio. Somehow, having 2 installations was causing this problem. When I uninstalled my brew installation of the sdk using:
brew cask uninstall android-sdk
it worked!
I recommend using Genymotion virtual machines for android, it is much faster and provides different API versions etc.

Xamarin Studio (V6.2.0.1829) is only running in the background

I have tried all the ways to install Xamarin Studio on my Windows 10 pro laptop with VS2015 installed. My Xamarin for VS2015 is working. I would like to try Xamarin Studio for some apps. I have downloaded the Xamarin Studio for Windows (6.2.0.1829, the newest). After a successful installation (resolved many issues related to prerequisites), the Xamarin Studio would only run in background. Since I started it many times, there were no Xamarin interface, I checked the process manager and found each time it was running in background). I have searched solutions for 1 day, and evaluated all suggestions, including re-install, repair, reloading, restart. I still could not fix the problem. Please help me to make it run in foreground.
try to update gtk to 2.12.26 .this works for me

Xamarin Studio do not start after install

Trying to install and run Xamarin Studio on my Mac, unfortunately this is not going well, please help. I have 7 years cross platform and app development behind me so I should now the basics.
I downloaded Xamarin Studio for Mac on the site, a dmg file was clicked and installation begun. I have gone through all steps and after problems with disk space (25 GB??) it was done.
Moving on to start Xamarin Studio and nothing happens. Absolutely nothing. I tried reboot my mac, I tried several times to start, but nothing.
(It was installed and required to enter my Admin password so it should have been installed as admin)
I use Yosemite 10.10.5 at the moment
I have Xcode installed version 7.1.1
I have Android SDK installed from before (but now also a new SDK :( )
When I read at the site there are not consistent information, at the requirements overview it says latest Xcode is required, on the actual table it is recommended. Anyone know if this is ACTUALLY my problem?
I have a problem to upgrade at this point as it can produce production problems for the deliveries I am about to do this week, at the same time I need to have Xamarin started.
Have anyone been running Xamarin with Xcode 7.1.1?? And build apps to iOS?
I was kind of expecting Xamarin Studio to at least start and let me know.
By the way I have been trying to find the answer here but cannot find anything, also at Google of course, let me know if you know a resource..
Hope I was enough specific
1) Open Console.app, "Clear the Display" and launch Xamarin Studio and review the Messages for failures/issues
2) Open a shell (Terminal or iTerm2) and run Xamarin Studio and review any messages shown. A properly functioning Xamarin Studio launched to it's main window this way will not produce any messages in the shell.
/Applications/Xamarin\ Studio.app/Contents/MacOS/XamarinStudio
3) Check the Xamarin Studio logs:
cd ~/Library/Logs/XamarinStudio-6.0/
rm *.log
/Applications/Xamarin\ Studio.app/Contents/MacOS/XamarinStudio
Review any .log files created
Xamarin System Requirements:
macOS
I'm running El Captain 10.11.6 and what solved the problem to me was to follow #SushiHangover's step 2 that is to open Terminal and run Xamarin from the cli, then I got this:
$ /Applications/Xamarin\ Studio.app/Contents/MacOS/XamarinStudio
Cannot open assembly '/Applications/Xamarin Studio.app/./XamarinStudio.exe': No such file or directory.
After that I googled it and read this bugzilla thread that made me remove Xamarin Studio app:
$ rm -rf /Applications/Xamarin\ Studio.app
And and reinstall it from the original installer.
All worked fine after this. :)

WP7 SDK on Windows 8

Is it possible to install WP7 SDK on Windows 8 Release Preview? I tried using standard installation package but keep getting following error:
Installation Requirements:
KB2669191 does not apply, or is blocked by another condition on your
computer. Please see http://go.microsoft.com/fwlink/?LinkId=225649
for more details.
I installed WP7 SDK 7.1 but had some compatibily errors durring the instaa. Right now I can start VS2010 for WP7 but cannot build the solution because of following error:
The target "GetCopyToOutputDirectoryContentProjectItems" does not
exist in the project.
The following link gives the exact steps you need to perform in order to install and run WP7 sdk on windows 8 : WP7 Sdk on Windows 8
For development of XNA/WP7 on Win8:
Install Windows 8, then Visual Studio 2012, then Windows Phone 8 SDK, ensure windows updates are installed (as Nov 2012 had some great App Store updates). Then, port your XNA code across and create a new project to get the DLL references you need. The DLLs will exist in the Silverlight 4 folders but not to worry, it all works once you have WP8 SDK !! The emulator runs great too! This is the process for XNA code into VS2012 that works.
You can get the SDK from here:
https://dev.windowsphone.com/en-us/downloadsdk
NOTE: The XNA games will ONLY work on WP7 devices. You need MonoGame or similar to port to Win8 devices.
You should install WPSDK 7.1 first, before installing 7.1.1 Update. Check the Instructions at the bottom of the page.
see Installing Windows Phone SDK.
Update:
I have used the SDK's 7.1 and 7.1.1 from the above link and they are working fine in Windows 8.
Uninstall Windows Phone 7.1 RC SDK, then install 7.1 RTW SDK, and then the 7.1.1 SDK.
And every thing will be alright
this link for 7.1 RTW
and this for 7.1.1
Good Luck :)
This article finally did the trick. Hopefully posting it here will save someone from the nigh terrors ive been experiencing lol. The work around involves installing the xbox live marketplace and then installing the wp7 sdk and XNA will install normally.
http://windowsteamblog.com/windows_phone/b/wpdev/archive/2012/03/05/windows-8-and-the-windows-phone-sdk.aspx
this will get the warning error to go away. To fix the emulator problem you mus download the windows phone sdk 7.1.1 which is an update to the 7.1 sdk you were having problems installing
The error 'GetCopyToOutputDirectoryContentProjectItems' has been known to come from Silverlight, therefore I recommend you try to reinstall the Silverlight SDK on your machine.
Source: GetCopyToOutputDirectoryContentProjectItems
Please go ahead and install windows 8 RTM now, after you install RTM ,Install Visual Studio 2012 and then WIndows Phone 8 SDK.now with this SDK , YOU CAN WORK ON WP7
as well as WP8
you can install sdk update 7.1.1 if you didn't.. It solved the problem for me
Download Windows Phone SDK 7.1.1 Update
This article solve my problem:
http://blogs.msdn.com/b/astebner/archive/2012/02/29/10274694.aspx
Basically was necessary install: Games for Windows – LIVE Redistributable from http://www.xbox.com/en-US/LIVE/PC/DownloadClient, after everthing works :)

Resources