Unable to deploy using Windows Phone Application Deployment (8.1) tool - windows-phone-8.1

First time developing Windows Phone 8.1 Universal App.
I figured how to create the .appx file after some googling. But now I need to deploy it to multiple customer devices, didn't figure that yet. For the moment I'm trying to deploy it to my development device, but it keeps throwing this error (see attached image).
I only have the myApp_ARM.appx file on my AppPackages folder. I can't find or browse to %FOLDERID_SharedData%. I have no idea where to find this ARM_Optimized.appx file.

First, reboot your phone, make sure there is no update pending. It should let you deploy into your phone.
Second, for deploying to multiple customer devices, use Hockeyapp (hockeyapp.net) to distribute the appx or use enterprise app feature.

Related

The project needs to be deployed before it can be started

Whenever I am starting to test an Windows Phone app (even a blank app) on emulator, I am getting error "The project needs to be deployed before it can be started". The emulator will be started & run successfully, still no luck in deploying app on emulator. Getting error DEP6100 & DEP6200.
These are the stuffs I tried till now:
Checked "deploy" option in 'Configuration Manager'.
Tried deploying Windows 10 Mobile, Windows Phone 8.1 & Windows Phone 8 blank apps on different types of emulators.
Although I am able to run apps on my device.
I am running Visual Studio Enterprise 2015 on Windows 10 Enterprise.
The Emulator is x86 based and Phone is ARM architecture. To run the app in the emulator, change the CPU to x86 in the toolbar and compile it. Now you can deploy te App to the Emulator and test it.
I faced problem like that and I fixed it by right click on project > properties > change platform target to X86.
I just started playing with Xamarin Forms, and ran into this error after following the Xamarin Forms Quickstart Guide. The error message actually said to Run the Deploy... for the project that you are trying to run. Deploying the project seems to install some Windows dependencies that might be required to run the UMP. After deploying the project, it ran without issue as a Windows Desktop app, or if you change to Device, then install emulator, as Windows Phone app.
This error was relentlessly happening to me as well, and I found out that it was because my project was saved on a SanDisk SD card. If I simply moved the entire solution to my C drive, it built without issue, but on the D drive, it would give this error.

Runtime Exception in windows build

I am able to generate & install windows phone build in my Microsoft Lumia 640. Its running on Windows OS 8.1.
But as soon as I run application generated by CN1 build server, it gives error
An internal application error occurred: java.lang.RuntimeException Unsupported operation as per below screen shot.
For a testing purpose I created new CN1 Project and without changing any code / theme.res I just sent windows phone build and it ended up with the same error.
Unfortunately I didnt get any log output from windows phone, as it doesnt support Logcat like Android. Also I tried to grab Isolated Storage by WP Power Tools but there was nothing in it.
Anyone faced / facing this in Codename One windows phone build ?
The Windows Phone port is the least mature of the Codename One ports having gone thru 3 rewrites due to changes from Microsoft.
We are now debating the 4th rewrite, in the meantime some community members did their own port which should be more complete:
https://github.com/Pmovil/CN1WindowsPort
So as the short answer I suggest using that. For an explanation on how we got here read on.
The reason we didn't already start with the 4th port was Microsofts project astoria that they suddenly (might have) canceled. We were relying on this project for future Windows Phone support but now that its status is unclear we are in a bind.
We also have the JavaScript port & the Windows desktop port as options for targeting windows phone alleviating some of the problem.
If MS cancels the project for good we'll dedicate the resources for a complete rewrite of the port, but that will take time. However, we don't want to start off on such a huge effort and suddenly be faced with a huge shortcut of Android compatibility.

Deploy to device fails when app is installed from store

On my development phone, I have my own app installed in current release from the store. My phone is registered as developer phone.
Now I´m writing an update for that app. In Visual Studio 2013, I wrote some updates and wanted to test them on my device, but I get an error:
Error writing file '%FOLDERID_APPID_INSTALL%\AppID\Project.dll'. Error 0x80070005: Access is denied.
And it doesn´t matter if I try to deploy a "debug" or a "release" build.
The only solution by now is to deinstall my (store) app and deploy then. But so I lose all my Settings and history data withih my app.
Is there any solution for this issue?
I found that I experienced this error when I went to do some further work on our app a few months after I added an In-App purchase.
It seems that in order to test the in-app purchases, I had to set the ProductID in the WMAppManifest.xml file to be the same as that of our live app.
This makes the in-app purchasing testing work, but then fails with the above error the next time you want to deploy it to your phone.
If you change the ProductID in the manifest to something new (or back to what you had it as before) then this fixes the issue.

Error code 80073cf9 when installing my own app from Store

I get the error code 80073cf9 when I try to install an 8.1 app (.appx) from the Store on my 920 with 8.1 Preview.
The app is 8.1 only and I'm able to run it and install it when deploying from my laptop.
I have the development build installed on my phone.
Solution
Uninstall the development build from your phone and then you will be able to download the app from Store.
Some interesting facts
Since 8.1 (.appx) you can not install an app from Store if you already have the app installed. This include your development builds deployed from your computer.
Before 8.1 (.xap) you were able to run both your development build and the Store app at the same time. This was since the Store changed the GUID of the app when it was uploaded. For some reason Store doesn't change the GUID of the uploaded app anymore.
I also meet the error 80073CF9. With my case, the reason is the setting of memory location. I reproduced the issue as below:
1. I chose phone memory to install apps
2. Second, I updated the phone from Windows 8.1 to Windows 10. Somehow, I changed to SD card memory to install apps.
3. After upgrading to Windows 10, some apps had to be reinstalled, but the error 80073CF9 raised. At that moment, the phone still used SD card memory to install apps, not the same as the original memory.
--> I switch the memory to install apps from SD card to phone (Setting / Storage / Store new apps on my Phone. It's done.
Conclusion with my case: The memory in order to install application has been changed
I had the same problem on my Lumia 730.
Solution: Go to settings->Tap on storage sense->temporary files-> delete
You can also check: https://geeksnipper.com/error-code-80073cf9/2229/

Can I get installed applications of phone from user's Windows Live ID in Windows Phone

I am developing Windows Phone application in that I want installed applications of phones but I searched a lot on this issue , there is no solution available. So I m trying to get Windows Live ID of windows phone so my question is that from Windows Live ID can I get installed applications in that phone related with that id..?Can anyone help me ?
Thank you.
Its not possible for a 3rd party developer app to get the list of apps installed on phone. There is no such communication existing in the present versions.
You could use launchers(available in wp8 only) for app to app communication like for opening a file or so. But getting the list of apps installed isn't possible. Atleast not in the present versions.
i.e, Sending data to app is possible but not receiving the data from one.