2016-06-29 29 views
0

我在Visual Studio中創建了Cordova應用程序,現在我想在Windows平板電腦上測試它。無法安裝通過Visual Studio與Cordova生成的appx

我已經生成我需要安裝應用程序

enter image description here

我將文件複製到我的平板電腦和運行PowerShell腳本文件,但隨後與此消息停止:

Installing app... 
Found dependency package(s): 
D:\Dev\A\Mobile\AppPackages\CordovaApp.Windows10_2.2.0.0_x86_debug_Test\Dependencies\x86\Microsoft.VCLibs.x86.Debug.14.00.appx 
D:\Dev\A\Mobile\AppPackages\CordovaApp.Windows10_2.2.0.0_x86_debug_Test\Dependencies\x64\Microsoft.VCLibs.x64.Debug.14.00.appx 
Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF9, De installatie is mislukt. Neem contact op met de softwareleverancier. (Uitzondering van HRESULT: 0x80073CF9) 

NOTE: For additional information, look for [ActivityId] 3835c98a-d14d-0000-2222-36384dd1d101 in the Event Log or use the command line Get-AppxLog -ActivityID 3835c98a-d14d-0000-2222-6384dd1d101 

At D:\Dev\A\Mobile\AppPackages\CordovaApp.Windows10_2.2.0.0_x86_debug_Test\Add-AppDevPackage.ps1:388 char:13 
+    Add-AppxPackage -Path $DeveloperPackagePath.FullName -Dep ... 
+    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
    + CategoryInfo   : WriteError: (D:\Dev\A\Mobile..._x86_debug.appx:String) [Add-AppxPackage], IOException 
    + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand 

這是我在PowerShell中圍繞線388

377 $AddPackageSucceeded = $False 
378 try 
379 { 
380  if ($DependencyPackages.FullName.Count -gt 0) 
381  { 
382   Write-Host $UiStrings.DependenciesFound 
383   $DependencyPackages.FullName 
384   Add-AppxPackage -Path $DeveloperPackagePath.FullName -DependencyPath $DependencyPackages.FullName -ForceApplicationShutdown 
385  } 
386  else 
387  { 
388   Add-AppxPackage -Path $DeveloperPackagePath.FullName -ForceApplicationShutdown 
389  } 
390  $AddPackageSucceeded = $? 
391 } 
392 catch 
393 { 
394  $Error[0] # Dump details about the last error 
395 } 
+0

的可能的複製[錯誤:DEP0001,HRESULT:0x80073CF9部署UWP應用手機時(http://stackoverflow.com/questions/36106365 /錯誤dep0001-HRESULT-0x80073cf9-時-部署-UWP-應用到電話) –

回答

相關問題