Build不会产生apk

时间:2015-03-18 14:54:12

标签: visual-studio-2013 visual-studio-cordova

我在VS 2013上使用Visual Studio Tools for Apache Cordova CTP3.1。为Android构建一个简单的空白应用程序模板。构建成功没有错误,但我无法在任何地方找到编译的APK文件! bin \ Android \文件夹包含空的Release和Debug文件夹。下面是VS build的输出。我没有看到Cordova实际调用Android版本,如果有的话?纹波仿真器工作得很好。

谢谢。

构建输出:

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

1 个答案:

答案 0 :(得分:3)

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

相关问题