I'm trying to deploy a universal app to a windows phone (development ready Lumia 520) device (I could deploy with Visual Studio 2015 RC).
Now that I'm using the latest visual studio and windows 10 sdk tools if I try to deploy to device (I'm using ARM) then the output just says:
Deploying started...
And gets stuck forever (I can still use visual studio) but it never ends.
Any suggestions?
Thanks in advance
I needed to change my phone device to developer mode.
Related
I created a simple Xamarin Blank App targeting only the UWP platform. Then I created packages to deploy app in sideloading mode. Then the installation works well on my development machine but when I tried to install it on an other PC without Visual Studio, the AppInstaller hangs at 16%.
Note both my development machine and the second PC have the same Windows 10 version which is 1803 (17134.112).
Thanks for any help.
EDIT
Please note I use Visual Studio 2017 Community version 15.5.27130.2024
I need to publish my android app that make it with visual studio enterprise 2017 and get IOS version of My App.
How to do this?
If you wish to compile your Xamarin application on iOS, you must have a Mac machine and deploy your app through there. You are not able to deploy an iOS version of your application on Windows, unless you are tethering to a Mac device through LAN for example using Visual Studio 2017.
Chick this out too, hope it helps!
I'm developing a Xamarin Forms app with Visual Studio 2015 running in Windows 10 hosted in VMWare Fusion 8.1.1 on a MacBookPro.
I connected a Moto G device to the Windows 10 machine (I can access to device with adb).
When I compile the project and try to deploy to the device the process never end. After build success message, VS 2015 go to Ready state and nothing happen.
What I can check? What is wrong?
Thank you!
Roberto
Click build on the tab menu and then select configuration manager. In the opening window, you should click deploy option for your platform
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.
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