Windows Phone Emulator 8 can't install Xamarin application - windows-phone-8

I have created a Xamarin application and compiled to Release. It was succesfully tested on an Android emulator so I decided to deploy it to a Windows Phone 8.0 Emulator.
I tried to use the Application Deployment but it cannot install because it starts the emulator that never boots, it shows OS starting (starting the emulator on its own is working).
So I downloaded it to the phone and when I try to open it, it says:
Can't install company app. There is a problem with this company app.
Contact your company's support person for help.
Why is the app considered company app? How can I install it to the emulator? What should I set?

The solution consists of two steps.
The company app issue is present because I've downloaded the application from a website, so it is unsafe (the source is the Internet). I have to install it through application deployment (via Visual Studio 2013 or the Windows Phone Application Deployment application).
The second step is to discard (and uninstall) Windows Phone 8.0 and change to Windows Phone 8.1. That helps a lot.

Related

Install XAP file locally in windows phone 8.1 device

Hope You are doing well.
Actually i have created one windows phone 8 application. So for testing i have installed the .xap file locally into windows phone 8 and it is working fine. But if i am going to install that .xap package in windows phone 8.1 or later it is not getting installed.
I have made research and found that the windows phone 8.1 and later OS version devices are accepting the APPX Package. They will not allow to install .XAP locally. Now the scenario is like that my client wants to test this application in windows phone 8.1 device.
So, Can anyone help me out that how can we install locally XAP package into windows phone 8.1 device?
Awaiting Response. Thanks in advance.
You can sideload your .xap package on Windows Phone 8.1 device using Windows Phone Application Deployment Tool (for 8.1).
Before installing , you need to ensure the device has been registered for development. You can use Windows Phone Developer Registration (8.1) to enable your device for development.
And you could search for the tool from the Windows 8.1 start menu.

How do I add the Server Hyper-V Emulator 8.1 to my existing project?

I have Windows Server R2 DataCenter w/Hyper-V running, installed the SDK's for Windows Phone development and the Windows Phone Emulator 8.1 U1 is running. On my Windows 8.1 I use Visual Studio 2013 Community for my Universal App development and its also installed on the server.
As of now I have not made any settings changes on the server, so everything is at its default. I already had a working Universal App project running before deciding to use my server (due to I broke my Windows Phone device the other day) for testing my Window Phone app.
Now I have to do all my Windows Phone development on the Server after making modifications and addition to my Windows App on my development machine (NOTE: Windows 8.1 doesn't have a VT cpu).
So my question is, is it possible to add the Windows Emulator 8.1 U1 to my Windows 8.1 project from the Server? This way I don't to keep going to the Server to test the Windows Phone app.
Updated 4-1-2015: additional information and better explanation of question.
Thanks!...
As I understand, you'd like to be able to do the following:
You have a machine X for development, which you can't install emulators on
You have a server Y w/ Phone emulator running
You want to deploy your app directly from machine X to server Y
Unfortunately, remote debugging/deployment to an emulator hosted on a different machine is not supported by VS, at least as far as I'm aware. :(
One thing you could try is using Team Foundation Build to automatically build and deploy your app on your R2 server. You could implement it such that anytime you checked code in, it would be available for ad-hoc testing on your server a few minutes later. This would still mean using Remote Desktop to use the remote emulator, but it would automate the work of getting your changes over to the server. That way you wouldn't have to develop directly on the server.

Windows phone 8.1 app deployment error :Error-package failed updates, dependency or conflict validation

This is what exactly is did:
Installed windows phone 8.0 SDK.
Installed windows phone 8.1 SDK(By first installing VS 2013 professional edition and later installing update R2).
After that 8.1 application xap deployment is failing
Unable to deploy xap on windows 8.1 phone using 8.1 deployment tool “Error-package failed updates, dependency or conflict validation”
The phone i am using is 8.1 updated
Can you please let me know if iam missing something?
Thanks in advance
Using Windows Phone Application Deployment (8.1), I just ran into same issue. I had tried to install an appx package which was built for Store in Release Mode.
I then realised I was trying to install an ARM build onto the emulator which needs an x86 build to run.
So instead I deployed the ARM Release Mode .appx to a physical device so I could test what I needed to test.
Hope this helps!
Not a real answer but an un-explained work around. I've recently started developing against windows phone. I am working on a Windows 8.1 machine that was previously a Windows 8 machine, previously using VS 2012 to develop against WP 8 and now using VS 2013 to develop for WP 8.1.
At intervals I start to receive the same error as reported by the question, both when deploying our WP 8.1 app to an emulator and when trying to run or debug our WP 8.1 unit tests. So far it's been resolved each time by restarting VS 2013 (and the emulator). Restarting the emulator alone has sometimes been sufficient but not always. I have not checked whether it works against a concrete device. More significantly I have no idea why deployment breaks or stopping/starting resolves it...
Our application and unit tests are WP 8.1 silver light projects and use SQLite.

Windows Phone 8 SDK debug wont start

I have installed Windows Phone 8 SDK, openened the VS express for Windows Phone,
created New Project with simple app, pressed F5, but the emulator wont start.
Is comes up with error:
Exception from HRESULT: 0x89721800
I don't have any network drivers installed which should be called Windows Phone Emulator.
I have Windows 8, with built-in Administrator account and full privs.
P.s. Main reason for this I want to deploy some apps on my Nokia Lumia 800.
I have unlocked it, but when i was deploying app with deployment tool, it came up with the same error message.
P.p.s I've installed Windows Phone SDK 7 and there the emulator worked, but i can't find any way to deploy app to phone
I blogged about this a couple of weeks ago. You can see the full details here: Resolving windows Phone Emulator Problems
XDE cleanup, and Hyper-V is a very common reson for problems with the emulator!
Regarding deployment to phone from windows phone sdk 7, remember to change debug device from "Emulator WVGA 512 MB" (or what ever you use) to "Device", and always start Zune before your start debugging and deployment.
If you had installed Windows 8 (Single Language or Home Edition) with Windows Phone 8 SDK you can't develop mobile applications because it doesn't support Hyper-V.
The only way to work with Windows Phone 8 is to change your OS to Windows Pro or higher.

Which Windows edition to use as a build server for Windows Phone 8 projects?

We plan to create virtual machine to serve as a build server for our Windows Phone 8 projects. According to the official requirements the WP8 SDK runs only on Windows 8. The question is is it possible to install the VS2012 and WP8 SDK also on Windows Server 2012, or should we just use the supported Windows 8?
Note we use Hyper-V for hosting virtual machines and also we don't need the WP8 emulator on that build server.
As a possible alternative (as I haven't tested your issue of building on WS 2012), why don't you use TFS online? It allows for 5 free projects (privately hosted in the cloud). See more here: http://tfs.visualstudio.com/
More on your issue:
I have tried running the WP8 SDK on Windows 7 without any luck (but it's not supported so I understand). Also, I have tried running the WP8 SDK from a Windows 8 Virtual Machine, but the emulator did not run as Hyper-V can't run on Hyper-V without pursuing this option: http://www.developer.nokia.com/Community/Wiki/Windows_Phone_8_SDK_on_a_Virtual_Machine_with_Working_Emulator
Hope this helps in some way, shape, or form.
On my workstation are installed VS2012, WP8 SDK. All works fine.