gpt4 book ai didi

android - Visual Studio Tools for Apache Cordova 错误,MDAVSCLI 失败,代码为 8

转载 作者:塔克拉玛干 更新时间:2023-11-02 23:25:18 27 4
gpt4 key购买 nike

我最近在 Windows 8.1 上运行的 Visual Studio 2013 中安装了 Visual Studio Tools for Apache Cordova CTP 3。当我尝试运行一个标准的新 Cordova 项目(在 Android 模拟器或设备中)时,我收到以下错误。该项目名为 MyCordova01:

Error   20  cmd: Command failed with exit code 8    C:\Users\Me\documents\visual studio 2013\Projects\MyCordova01\MyCordova01\MDAVSCLİ  1   1   MyCordova01

这是构建输出:

1>------ Build started: Project: MyCordova01, Configuration: Debug Android ------
1>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\TypeScript\Microsoft.TypeScript.targets(97,5): warning : The TypeScript Compiler was given no files for compilation, so it will skip compiling.
1> GeneratedJavascript=
1> C:\Users\Me\documents\visual studio 2013\Projects\MyCordova01\MyCordova01>call "C:\Program Files\nodejs\"\nodevars.bat
1> Your environment has been set up for using Node.js 0.10.26 (x64) and npm.
1> ------ Ensuring correct global installation of package from source package directory: C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 12.0\COMMON7\IDE\EXTENSIONS\DXXQ5VLG.GQS\packages\vs-mda
1>MDAVSCLİ : error : cmd: Command failed with exit code 8
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 0 failed, 0 skipped ==========

可能是什么问题?我已经尝试清除 Cordova 缓存并在 vs-mda 目录上运行 npm-install。

更新:diagnostic build log

最佳答案

code.google.com/p/android/issues/detail?id=77629 上的附加 aapt.exe 似乎解决了这个问题。原来问题出在 Android 构建工具上。

关于android - Visual Studio Tools for Apache Cordova 错误,MDAVSCLI 失败,代码为 8,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27758171/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com