【问题标题】:chrome not working with ripple nexus s and galaxy android multidevice hybrid appchrome 无法与ripple nexus s 和galaxy android 多设备混合应用程序一起使用
【发布时间】: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


    【解决方案1】:

    发生此问题时,可行的方法是退出 Visual Studio,从任务管理器中终止所有 Chrome 进程,然后重新启动计算机。在新的 VS 实例中恢复您的工作应该可以让您成功部署到 Ripple。较早的post 涵盖了相同的问题。

    【讨论】:

    • 感谢 Ellen 女士的回复...实际上我试过了,但没有任何效果。有没有其他解决方案??
    • @Amit - 重新安装 Chrome 可以解决问题吗?
    • Ellen 女士你好。我做了几次,但没有成功。我正在使用 windows 8.1 单一语言并为 windows 8 安装 chrome。这是一个问题吗?
    • @ma'am ellen - 你能在任务管理器中指定要杀死的进程吗?我找不到带有 chrome 图标的进程。
    • 该进程将被命名为 chrome.exe。正在积极调查此问题。
    【解决方案2】:

    以管理员身份运行 Visual Studio,然后重试。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多