【发布时间】:2014-08-25 11:15:02
【问题描述】:
我使用 Visual Studio 2013 update 3 CTP 2 版本为多设备混合应用模板创建了一个空白项目。当我使用 Ripple Nexus s 和 nexus Galaxy 为 Android 平台运行项目时,它不会打开 chrome 。当我按 f5 构建和部署成功之后,会出现一个消息对话框: 对象引用未设置为对象的实例
输出窗口显示部署成功的消息。但并没有真正打开浏览器窗口。
我已经重新安装了两次模板。此外,我已经为公共网络关闭了防火墙,但我无法确保域、私有和公共都检查“V8 JavaScript 的事件 I/O”。 . 下面是 o/p 窗口。
1>------ Build started: Project: BlankCordovaApp3, Configuration: Debug 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> C:\BlankCordovaApp3\BlankCordovaApp3>call "C:\Program Files\nodejs\"\nodevars.bat
1> Your environment has been set up for using Node.js 0.10.31 (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\tjdvfq0n.lk1\packages\vs-mda
1> ------ Build Settings:
1> ------ buildCommand: prepare
1> ------ platform: Android
1> ------ cordovaPlatform: android
1> ------ configuration: Debug
1> ------ cordovaConfiguration: Debug
1> ------ projectName: BlankCordovaApp3
1> ------ projectSourceDir: C:\BlankCordovaApp3\BlankCordovaApp3
1> ------ language: en-US
1> ------ App dir C:\BlankCordovaApp3\BlankCordovaApp3\bld\Debug already exists
1> ------ Platform android already exists
1> ------ Updating plugins
1> ------ Currently installed plugins:
1> ------ Currently installed dependent plugins:
1> ------ Currently configured plugins:
1> ------ Preparing platform: android
1> cordova library for "android" already exists. No need to download. Continuing.
1> Generating config.xml from defaults for platform "android"
1> Calling plugman.prepare for platform "android"
1> Wrote out Android application name to "BlankCordovaApp3"
1> no icon found matching Android typical densities
1> no icon found matching Android typical densities
1> no icon found matching Android typical densities
1> no icon found matching Android typical densities
1> Wrote out Android package name to "io.cordova.BlankCordovaApp3"
2>------ Deploy started: Project: BlankCordovaApp3, Configuration: Debug Android ------
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
========== Deploy: 1 succeeded, 0 failed, 0 skipped ==========
【问题讨论】:
标签: google-chrome ripple visual-studio-cordova