I have created an Mobile App for Windows Phone 8.1 using tools for Apache Cordova. When trying to Sideload the app using the windows phone 8.1 application deployment tool i receive an error "Error - A packaging error prevented this application from installing". Does anyone know what this means, the cause and how to fix it? The process is inconsistent as there are times it works without issues and other times it doesn't work constantly any ideas.
Related
I have an existing Ionic app that I am trying to test on my Windows 10 mobile phone, but i cannot get Ionic (or Cordova) to deploy to the phone. I have added the Windows platform using ionic platform add windows and then tried to deploy using ionic run windows --device -- --phone --archs="x86" but that results in:
Deploying app package...
Unexpected error from installation:
Error: Not implemented
You may have previously installed the app with an earlier version of cordova-windows.
Ensure the app is uninstalled from the phone and then try to run again.
ERROR: Error: Not implemented
If i do ionic run windows --list to get a list of detected devices i get this:
Available windows devices:
0. Device (device)
Available windows virtual devices:
No devices found matching the specified criteria.
If I try to deploy directly to 0. Device (device) then the app launches on my desktop computer.
Windows itself can "see" my Windows 10 phone and i can browse the contents of it in Windows Explorer.
I have also enabled Developer Mode on the phone so it will load apps from anywhere and I have purchased a Windows Developer License to see if that would help, but it didn't.
Finally, I tried installing the app using the Device Portal feature, but when I try to install it, I get this error:
Failure reason: Failed to start deployment. Failure text: No signature was present in the subject.
(0x800b0100)
Has anyone else been able to deploy an Ionic / Cordova app to a Windows 10 device? If so, how did you set it up?
I had the same issue.
By default the cordova build command produces two packages: Windows 8.1 and Windows Phone 8.1. To upgrade Windows package to version 10 the following configuration setting must be added to configuration file (config.xml).
<preference name="windows-target-version" value="10.0" />
This resolved the issue.
On the Start Menu in Windows type services.msc and start the Windows Phone IP Over Usb service.
I try to debug my windows 8.1 application on the device (lumia 630) but I get the following error:
"The application could not be launched for debugging. Ensure that the target device screen is unlocked and that the application is installed."
The application is installing and I can run it without problems on the device. I also can debug the application in the emulator. The only problem appears when trying to debug on the device. I tried everything I could find with a google search...This inclues restarting the Windows Phone IP over USB service, reinstalling the W8 SDK, un-installing the app before debugging.
If someone has an idea, no matter how stupid it is I would like to hear it. I really need the phone debugging.
We are having an issue building my app in Debug mode to my physical devices, the error is posted below.
The device is dev unlocked and was working, but stopped with no warning. We can still work on the emulator and build in release mode to the device.
We have tried:
•Reassociating it with the Windows Phone store.
•Cleaning the solution.
•Deleting obj and bin folders.
•Rebuilding solutions
•Running VS in admin mode.
•Restarting the system.
Does anyone please have advice on how to resolve this issue as it is hurting our beta testing.
Error:
"Unable to activate Windows Store app 'App Name'. The Process started, but the activation request failed with error 'The app didn't start'"
try to remove the App.config file
If you already have the app installed on device, it will fail when you try to deploy using Visual studio. Is this a Windows Phone 8.1 app or 7.x app?
I'm running Weinre on Mac. I have an HTML5-based Windows app installed on a Windows phone. If I try to access my app via the browser inside the Windows phone, I am able to detect the app on Weinre without any problems. However, if I open the actual installed Windows app (not via the browser), I can't see my app listed on Weinre. What could be the error and how do I fix it?
Note: I'm using Chrome as my debug client. The model of the phone I'm using is Nokia Lumia 925 (Windows Phone 8.1).
Thanks in advanced!
It may be a lot of work, but if you install Windows in a VM, you could use Visual Studio: http://blogs.msdn.com/b/davrous/archive/2014/07/21/how-to-remotely-debug-and-profile-the-performance-of-your-html5-websites-amp-apps-on-windows-phone.aspx
I'm doing some development for windows mobile phone 7. I have the emulator installed and can deploy and debug the application. However, I'm getting random application crashes that I'm trying to debug. When I've worked with other emulators, there are log files that give log details from system libraries and other framework components that are being used.
Are there any such logs with mobile emulator?
Is it the emulator that is crashing? Or the application?
If its the application, then you should be able to use the VS2010 debugger with "break on exceptions" turned on and with intellitrace options.
If its the emulator, then sorry - but I don't know of any log files available.