I want to get the blank app working on the windows platform. I did the following:
ionic start myApp blank
cd .\myApp\
ionic platform add windows
ionic emulate windows
them I'm getting the following exception:
Starting application...
ActivateApplication: com.ionicframework.myappmework.myapp781
Ausnahme beim Aufrufen von "ActivateApplication" mit 4 Argument(en): "Der Remoteprozeduraufruf ist fehlgeschlagen.
(Ausnahme von HRESULT: 0x800706BE)"
In C:\...\myApp\platforms\windows\cordova\lib\WindowsStoreAppUtils.ps1:164 Zeichen:5
+ $appActivator.ActivateApplication($applicationUserModelId,$null,[ ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : COMException
What I need to fix?
Run ionic run windows -- --win
to deploy to windows. ionic run windows -- --phone
to launch application on emulator. And ionic run windows --device -- --phone
to launch on real device. Plus if you still get failed then run ionic run windows --list
to see if there is any target(emulator or device) available or not.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments