Visual Studio tools for Apache Cordova error, MDAVSCLI failed with code 8

I recently installed Visual Studio Tools for Apache Cordova CTP 3 in Visual Studio 2013, running on Windows 8.1. When I try to start a standard new Cordova project (in Android Emulator or Device), I get the following error. The project is called MyCordova01:

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

Here is the build result:

 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 ========== 

What could be the problem? I already tried to clear the Cordoba cache and run npm-install in the vs-mda directory.

UPDATE: Diagnostic Log

+5
source share
1 answer

The attached aapt.exe file on code.google.com/p/android/issues/detail?id=77629 seems to fix the problem. Turns out the problem is with Android Build Tools.

0
source

Source: https://habr.com/ru/post/1210319/


All Articles