构建不产生apk

Build doesn’t produce apk

我正在使用 Visual Studio VS 2013 上的 Apache Cordova CTP3.1 工具。为 Android 构建一个简单的空白应用程序模板。构建成功,没有错误,但我在任何地方都找不到编译后的 APK 文件! bin\Android\ 文件夹包含空的 Release 和 Debug 文件夹。下面是我从 VS 构建的输出。我没有看到对 Cordova 的实际调用来执行 Android 构建,它应该在那里吗? Ripple 模拟器工作得很好。

谢谢。

构建输出:

1>------ Build started: Project: BlankCordovaApp1, Configuration: Release Android ------
1>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\TypeScript\Microsoft.TypeScript.targets(95,5): warning : The TypeScript Compiler was given no files for compilation, so it will skip compiling.
1>  GeneratedJavascript=
1>  C:\Users\XXX\Documents\Visual Studio 2013\Projects\BlankCordovaApp1>call "C:\Program Files\nodejs\"\nodevars.bat 
1>  Your environment has been set up for using Node.js 0.12.0 (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\DUZVVBQ3.2O1\packages\vs-mda
1>  ------ Name from source package.json: vs-mda
1>  ------ Version from source package.json: 0.1.75
1>  ------ Current globally installed version: 0.1.75
1>  ------ Package already installed globally at correct version.
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

要创建 apk,您需要select将目标设置为设备或模拟器。 Apk 不是为 Ripple 创建的,因为不需要部署包,它只是在浏览器中启动 index.html。