[英]chrome not working with ripple nexus s and galaxy android multidevice hybrid app
I have created a blank project using Visual Studio 2013 update 3 CTP 2 version for Multi Device Hybrid App template. 我已使用Visual Studio 2013 Update 3 CTP 2版本的Multi Device Hybrid App模板创建了一个空白项目。 When I run the project for Android platform using Ripple Nexus s and nexus Galaxy, it does not open the chrome . 当我使用Ripple Nexus和nexus Galaxy运行Android平台项目时,它不会打开chrome。 When I press f5 build and deployment gets succeed and after that a message dialog appears saying : object reference not set to an instance of an object 当我按f5键时,构建和部署成功,然后出现一个消息对话框,提示:对象引用未设置为对象的实例
The output window displays a message that Deployment succeeded. 输出窗口显示一条消息,表示部署成功。 But does not really open the browser window. 但是并没有真正打开浏览器窗口。
I had reinstalled the template twice. 我已经两次安装了模板。 Also I had turned my firewall off for public network but I couldn't Ensure Domain, Private, and Public are all checked for “Evented I/O for V8 JavaScript.” .Below is the o/p window. 另外,我已经关闭了公共网络的防火墙,但是我无法确保都检查了“域,私有和公共”的“用于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 ==========
When this issue occurs, what works is to exit Visual Studio, kill any Chrome processes from the task manager, and reboot the machine. 发生此问题时,有效的方法是退出Visual Studio,从任务管理器中终止所有Chrome进程,然后重新启动计算机。 Resuming your work in a new instance of VS should allow you to successfully deploy to Ripple. 在新的VS实例中恢复工作将使您能够成功地部署到Ripple。 An earlier post covers the same issue. 较早的帖子涉及相同的问题。
以管理员身份运行Visual Studio,然后重试。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.