简体   繁体   English

Visual Studio 2015 RTM Cordova项目不会调试/部署到Android,Windows,Windows Phone

[英]Visual Studio 2015 RTM Cordova project won't debug/deploy to Android, Windows, Windows Phone

I've got a feeling I upgraded to Visual Studio 2015 RTM too early. 我有一种感觉我过早升级到Visual Studio 2015 RTM。 Visual Studio Emulator for Android would no longer launch, claiming that the pre-release version had expired. 适用于Android的Visual Studio模拟器将不再启动,声称预发布版本已过期。

I ran the RTM installer, allowing it to replace Release Candidate components as needed. 我运行了RTM安装程序,允许它根据需要替换Release Candidate组件。 The process ran smoothly, but now after upgrading, Cordova projects will no longer deploy or debug. 该过程运行顺利,但现在升级后,Cordova项目将不再部署或调试。

With the Release Candidate, the toolbar's green Start button had a dropdown for choice of device. 使用Release Candidate,工具栏的绿色“开始”按钮有一个用于选择设备的下拉列表。 Now with RTM version, this button is just labelled "Start" and its dropdown provides no options for device selection. 现在使用RTM版本,此按钮仅标记为“开始”,其下拉列表不提供设备选择选项。 Instead, the only option in the dropdown is "Start". 相反,下拉列表中唯一的选项是“开始”。 As I change the selection in the "Solution Platform" dropdown, located left of this Start button, the Start button still provides no choices. 当我在“开始”按钮左侧的“解决方案平台”下拉列表中更改选择时,“开始”按钮仍然没有提供任何选择。 See images below. 见下图。

Solution Platform: Android 解决方案平台:Android 科尔多瓦 - 安卓

Solution Platform: Windows-AnyCPU 解决方案平台:Windows-AnyCPU 科尔多瓦窗口

Solution Platform: Windows Phone 8 解决方案平台:Windows Phone 8 科尔多瓦-WP

The Debug menu's "Start Debugging" item is disabled. Debug菜单的“Start Debugging”项被禁用。 If I click the Start toolbar button, I get this message: "The debugger cannot continue running the process. Unable to start debugging." 如果单击“开始”工具栏按钮,我会收到以下消息:“调试器无法继续运行该过程。无法开始调试。”

I've confirmed that Visual Studio Emulator for Android is functional. 我已经确认Android的Visual Studio Emulator功能正常。 I've got the profile '5" Lollipop (5.0) XXHDPI Phone' working. 我有个人资料'5“棒棒糖(5.0)XXHDPI手机'工作。

For a comparison, I've also added a new Windows Phone 8.1 project to my solution and confirmed that project allows selecting a Debug Target. 为了进行比较,我还在我的解决方案中添加了一个新的Windows Phone 8.1项目,并确认该项目允许选择一个调试目标。 In the toolbar, the word Start is replaced with "Emulator 8.1 WVGA 4 inch 512MB". 在工具栏中,单词Start将替换为“Emulator 8.1 WVGA 4 inch 512MB”。 With this project as the Startup Project, the Debug menu now has "Start Debugging" enabled. 将此项目作为启动项目,Debug菜单现在启用了“Start Debugging”。 This project starts as expected. 该项目按预期开始。

C#-WP81

Since the Visual Studio Emulator for Android is functional, and Visual Studio successfully targets the Windows Phone emulator, it seems there's a misconfiguration related to Visual Studio's Cordova project type. 由于适用于Android的Visual Studio模拟器功能正常,并且Visual Studio成功定位到Windows Phone模拟器,因此似乎存在与Visual Studio的Cordova项目类型相关的错误配置。 The linkage between a VS2015 Cordova project and its "device" targets is missing. 缺少VS2015 Cordova项目与其“设备”目标之间的联系。

Any ideas? 有任何想法吗?

UPDATE: See also: Unable to start debugging in Visual Studio RTM for cordova app 更新:另请参阅: 无法在Visual Studio RTM中为cordova应用程序启动调试

UPDATE 2: I've made several adjustments: 更新2:我做了几个调整:

  1. Tools for Apache Cordova's Dependency checker found missing Android SDK components. Apache Cordova的依赖检查工具发现缺少Android SDK组件。 I've added these, satisfying Dependency Checker. 我添加了这些,令人满意的依赖检查器。

  2. Tools for Apache Cordova's Environment Variable Overrides showed no path to ADT_HOME. Apache Cordova环境变量覆盖的工具显示没有ADT_HOME的路径。 I've set it to "C:\\Program Files (x86)\\Android\\android-sdk". 我把它设置为“C:\\ Program Files(x86)\\ Android \\ android-sdk”。

  3. My build output showed "[taskdef] could not load definitions from resource emma_ant.properties. it could not be found." 我的构建输出显示“[taskdef]无法从资源emma_ant.properties加载定义。无法找到它。” I added a system environment variable ANT_HOME pointing to "C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\Apps\\apache-ant-1.9.3", and added ";%ANT_HOME%\\bin" to the PATH. 我添加了一个指向“C:\\ Program Files(x86)\\ Microsoft Visual Studio 14.0 \\ Apps \\ apache-ant-1.9.3”的系统环境变量ANT_HOME,并在PATH中添加了“;%ANT_HOME%\\ bin”。 Still "emma_ant.properties" message remains, but it is not up to the level of a warning or error. 仍然存在“emma_ant.properties”消息,但它未达到警告或错误的级别。

With Solution Platform set to Android, my current build output is: 将Solution Platform设置为Android后,我当前的构建输出为:

1>------ Rebuild All started: Project: BlankCordovaApp2, Configuration: Debug Android ------
1>  Buildfile: C:\Users\billvo\Documents\Visual Studio 2015\Projects\BlankCordovaApp2\BlankCordovaApp2\platforms\android\build.xml
1>    [taskdef] Could not load definitions from resource emma_ant.properties. It could not be found.
1>
1>  -check-env:
1>   [checkenv] Android SDK Tools Revision 23.0.0
1>   [checkenv] Installed at C:\Program Files (x86)\Android\android-sdk
1>
1>  -setup:
1>       [echo] Project Name: MainActivity
1>    [gettype] Project Type: Application
1>
1>  -pre-clean:
1>
1>  clean:
1>  [getlibpath] Library dependencies:
1>  [getlibpath]
1>  [getlibpath] ------------------
1>  [getlibpath] Ordered libraries:
1>    [taskdef] Could not load definitions from resource emma_ant.properties. It could not be found.
1>
1>  nodeps:
1>
1>  -check-env:
1>   [checkenv] Android SDK Tools Revision 23.0.0
1>   [checkenv] Installed at C:\Program Files (x86)\Android\android-sdk
1>
1>  -setup:
1>       [echo] Project Name: MainActivity
1>    [gettype] Project Type: Android Library
1>
1>  -pre-clean:
1>
1>  clean:
1>
1>  BUILD SUCCESSFUL
1>  Total time: 0 seconds
1>  Your environment has been set up for using Node.js 0.12.2 (ia32) and npm.
1>  ------ Ensuring correct global installation of package from source package directory: C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\ApacheCordovaTools\packages\vs-tac
1>  ------ Name from source package.json: vs-tac
1>  ------ Version from source package.json: 1.0.0
1>  ------ Package not currently installed globally.
1>  ------ Installing globally from source package. This could take a few minutes...
1>  > edge@0.10.1 install C:\Users\billvo\AppData\Roaming\npm\node_modules\vs-tac\node_modules\edge
1>  > node tools/install.js
1>  Success: platform check for edge.js: node.js ia32 v0.12.2
1>  npm WARN engine npm@1.3.4: wanted: {"node":">=0.6","npm":"1"} (current: {"node":"0.12.2","npm":"2.7.4"})
1>  npm WARN engine cordova-js@3.6.2: wanted: {"node":"~0.10.x"} (current: {"node":"0.12.2","npm":"2.7.4"})
1>  npm WARN installMany normalize-package-data was bundled with npm@1.3.4, but bundled package wasn't found in unpacked tree
1>  C:\Users\billvo\AppData\Roaming\npm\vs-tac-cli -> C:\Users\billvo\AppData\Roaming\npm\node_modules\vs-tac\vs-tac-cli.cmd
1>  vs-tac@1.0.0 C:\Users\billvo\AppData\Roaming\npm\node_modules\vs-tac
1>  ├── rimraf@2.2.6
1>  ├── ncp@0.5.1
1>  ├── mkdirp@0.3.5
1>  ├── q@1.0.1
1>  ├── semver@2.3.1
1>  ├── adm-zip@0.4.4
1>  ├── fstream@0.1.28 (inherits@2.0.1, graceful-fs@3.0.8)
1>  ├── optimist@0.6.1 (wordwrap@0.0.3, minimist@0.0.10)
1>  ├── tar@0.1.20 (inherits@2.0.1, block-stream@0.0.8)
1>  ├── elementtree@0.1.6 (sax@0.3.5)
1>  ├── request@2.36.0 (forever-agent@0.5.2, aws-sign2@0.5.0, qs@0.6.6, oauth-sign@0.3.0, tunnel-agent@0.4.1, json-stringify-safe@5.0.1, mime@1.2.11, node-uuid@1.4.3, tough-cookie@2.0.0, http-signature@0.10.1, hawk@1.0.0, form-data@0.1.4)
1>  ├── ripple-emulator@0.9.30 (connect-xcors@0.5.2, colors@0.6.0-1, open@0.0.3, accounting@0.4.1, request@2.12.0, moment@1.7.2, express@3.1.0)
1>  ├── edge@0.10.1 (edge-cs@0.2.7, nan@1.8.4)
1>  └── plugman@0.22.4 (q@0.9.7, underscore@1.4.4, nopt@1.0.10, rc@0.3.0, cordova-lib@0.21.6, npm@1.3.4)
1>  ------ npm install of vs-tac@1.0.0 from C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\ApacheCordovaTools\packages\vs-tac completed.
1>  ------ Installing Cordova tools cordova@4.3.1 for project from npm. This could take a few minutes...
1>  npm WARN engine npm@1.3.4: wanted: {"node":">=0.6","npm":"1"} (current: {"node":"0.12.2","npm":"2.7.4"})
1>  npm WARN engine cordova-js@3.8.0: wanted: {"node":"~0.10.x"} (current: {"node":"0.12.2","npm":"2.7.4"})
1>  npm WARN engine xmlbuilder@2.2.1: wanted: {"node":"0.8.x || 0.10.x"} (current: {"node":"0.12.2","npm":"2.7.4"})
1>  npm WARN installMany normalize-package-data was bundled with npm@1.3.4, but bundled package wasn't found in unpacked tree
1>  cordova@4.3.1 node_modules\cordova
1>  ├── underscore@1.7.0
1>  ├── q@1.0.1
1>  ├── nopt@3.0.1 (abbrev@1.0.7)
1>  └── cordova-lib@4.3.1 (valid-identifier@0.0.1, osenv@0.1.0, properties-parser@0.2.3, bplist-parser@0.0.6, mime@1.2.11, unorm@1.3.3, semver@2.0.11, dep-graph@1.1.0, shelljs@0.3.0, rc@0.5.2, through2@0.6.3, npmconf@0.1.16, xcode@0.6.7, elementtree@0.1.5, d8@0.4.4, request@2.47.0, glob@4.0.6, tar@1.0.2, init-package-json@1.7.1, plist@1.1.0, cordova-js@3.8.0, npm@1.3.4)
1>  ------ npm install of cordova@4.3.1 from npm completed.
1>  ------ Build Settings:
1>  ------ Build Settings:
1>  ------    platformConfigurationBldDir: C:\Users\billvo\documents\visual studio 2015\Projects\BlankCordovaApp2\BlankCordovaApp2\bld\Android\Debug
1>  ------    platformConfigurationBinDir: C:\Users\billvo\documents\visual studio 2015\Projects\BlankCordovaApp2\BlankCordovaApp2\bin\Android\Debug
1>  ------    buildCommand: prepare
1>  ------    platform: Android
1>  ------    cordovaPlatform: android
1>  ------    configuration: Debug
1>  ------    cordovaConfiguration: Debug
1>  ------    projectName: BlankCordovaApp2
1>  ------    projectSourceDir: C:\Users\billvo\documents\visual studio 2015\Projects\BlankCordovaApp2\BlankCordovaApp2
1>  ------    npmInstallDir: C:\Users\billvo\AppData\Roaming\npm
1>  ------    language: en-US
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>  Generating config.xml from defaults for platform "android"
1>  Calling plugman.prepare for platform "android"
1>  Preparing android project
1>  Processing configuration changes for plugins.
1>  Iterating over installed plugins: []
1>  Writing out cordova_plugins.js...
1>  Wrote out Android application name to "BlankCordovaApp2"
1>  deleted: C:\Users\billvo\documents\visual studio 2015\Projects\BlankCordovaApp2\BlankCordovaApp2\platforms\android\res\drawable-land-hdpi\screen.png
1>  deleted: C:\Users\billvo\documents\visual studio 2015\Projects\BlankCordovaApp2\BlankCordovaApp2\platforms\android\res\drawable-land-ldpi\screen.png
1>  deleted: C:\Users\billvo\documents\visual studio 2015\Projects\BlankCordovaApp2\BlankCordovaApp2\platforms\android\res\drawable-land-mdpi\screen.png
1>  deleted: C:\Users\billvo\documents\visual studio 2015\Projects\BlankCordovaApp2\BlankCordovaApp2\platforms\android\res\drawable-land-xhdpi\screen.png
1>  deleted: C:\Users\billvo\documents\visual studio 2015\Projects\BlankCordovaApp2\BlankCordovaApp2\platforms\android\res\drawable-port-hdpi\screen.png
1>  deleted: C:\Users\billvo\documents\visual studio 2015\Projects\BlankCordovaApp2\BlankCordovaApp2\platforms\android\res\drawable-port-ldpi\screen.png
1>  deleted: C:\Users\billvo\documents\visual studio 2015\Projects\BlankCordovaApp2\BlankCordovaApp2\platforms\android\res\drawable-port-mdpi\screen.png
1>  deleted: C:\Users\billvo\documents\visual studio 2015\Projects\BlankCordovaApp2\BlankCordovaApp2\platforms\android\res\drawable-port-xhdpi\screen.png
1>  splash screens: [{"src":"res/screens/android/screen-hdpi-landscape.png","density":"land-hdpi","platform":"android"},{"src":"res/screens/android/screen-ldpi-landscape.png","density":"land-ldpi","platform":"android"},{"src":"res/screens/android/screen-mdpi-landscape.png","density":"land-mdpi","platform":"android"},{"src":"res/screens/android/screen-xhdpi-landscape.png","density":"land-xhdpi","platform":"android"},{"src":"res/screens/android/screen-hdpi-portrait.png","density":"port-hdpi","platform":"android"},{"src":"res/screens/android/screen-ldpi-portrait.png","density":"port-ldpi","platform":"android"},{"src":"res/screens/android/screen-mdpi-portrait.png","density":"port-mdpi","platform":"android"},{"src":"res/screens/android/screen-xhdpi-portrait.png","density":"port-xhdpi","platform":"android"}]
1>  copying image from C:\Users\billvo\documents\visual studio 2015\Projects\BlankCordovaApp2\BlankCordovaApp2\res\screens\android\screen-hdpi-landscape.png to C:\Users\billvo\documents\visual studio 2015\Projects\BlankCordovaApp2\BlankCordovaApp2\platforms\android\res\drawable-land-hdpi\screen.png
1>  copying image from C:\Users\billvo\documents\visual studio 2015\Projects\BlankCordovaApp2\BlankCordovaApp2\res\screens\android\screen-ldpi-landscape.png to C:\Users\billvo\documents\visual studio 2015\Projects\BlankCordovaApp2\BlankCordovaApp2\platforms\android\res\drawable-land-ldpi\screen.png
1>  copying image from C:\Users\billvo\documents\visual studio 2015\Projects\BlankCordovaApp2\BlankCordovaApp2\res\screens\android\screen-mdpi-landscape.png to C:\Users\billvo\documents\visual studio 2015\Projects\BlankCordovaApp2\BlankCordovaApp2\platforms\android\res\drawable-land-mdpi\screen.png
1>  copying image from C:\Users\billvo\documents\visual studio 2015\Projects\BlankCordovaApp2\BlankCordovaApp2\res\screens\android\screen-xhdpi-landscape.png to C:\Users\billvo\documents\visual studio 2015\Projects\BlankCordovaApp2\BlankCordovaApp2\platforms\android\res\drawable-land-xhdpi\screen.png
1>  copying image from C:\Users\billvo\documents\visual studio 2015\Projects\BlankCordovaApp2\BlankCordovaApp2\res\screens\android\screen-hdpi-portrait.png to C:\Users\billvo\documents\visual studio 2015\Projects\BlankCordovaApp2\BlankCordovaApp2\platforms\android\res\drawable-port-hdpi\screen.png
1>  copying image from C:\Users\billvo\documents\visual studio 2015\Projects\BlankCordovaApp2\BlankCordovaApp2\res\screens\android\screen-ldpi-portrait.png to C:\Users\billvo\documents\visual studio 2015\Projects\BlankCordovaApp2\BlankCordovaApp2\platforms\android\res\drawable-port-ldpi\screen.png
1>  copying image from C:\Users\billvo\documents\visual studio 2015\Projects\BlankCordovaApp2\BlankCordovaApp2\res\screens\android\screen-mdpi-portrait.png to C:\Users\billvo\documents\visual studio 2015\Projects\BlankCordovaApp2\BlankCordovaApp2\platforms\android\res\drawable-port-mdpi\screen.png
1>  copying image from C:\Users\billvo\documents\visual studio 2015\Projects\BlankCordovaApp2\BlankCordovaApp2\res\screens\android\screen-xhdpi-portrait.png to C:\Users\billvo\documents\visual studio 2015\Projects\BlankCordovaApp2\BlankCordovaApp2\platforms\android\res\drawable-port-xhdpi\screen.png
1>  deleted: C:\Users\billvo\documents\visual studio 2015\Projects\BlankCordovaApp2\BlankCordovaApp2\platforms\android\res\drawable-hdpi\icon.png
1>  deleted: C:\Users\billvo\documents\visual studio 2015\Projects\BlankCordovaApp2\BlankCordovaApp2\platforms\android\res\drawable-ldpi\icon.png
1>  deleted: C:\Users\billvo\documents\visual studio 2015\Projects\BlankCordovaApp2\BlankCordovaApp2\platforms\android\res\drawable-mdpi\icon.png
1>  deleted: C:\Users\billvo\documents\visual studio 2015\Projects\BlankCordovaApp2\BlankCordovaApp2\platforms\android\res\drawable-xhdpi\icon.png
1>  copying image from C:\Users\billvo\documents\visual studio 2015\Projects\BlankCordovaApp2\BlankCordovaApp2\res\icons\android\icon-36-ldpi.png to C:\Users\billvo\documents\visual studio 2015\Projects\BlankCordovaApp2\BlankCordovaApp2\platforms\android\res\drawable-ldpi\icon.png
1>  copying image from C:\Users\billvo\documents\visual studio 2015\Projects\BlankCordovaApp2\BlankCordovaApp2\res\icons\android\icon-48-mdpi.png to C:\Users\billvo\documents\visual studio 2015\Projects\BlankCordovaApp2\BlankCordovaApp2\platforms\android\res\drawable-mdpi\icon.png
1>  copying image from C:\Users\billvo\documents\visual studio 2015\Projects\BlankCordovaApp2\BlankCordovaApp2\res\icons\android\icon-72-hdpi.png to C:\Users\billvo\documents\visual studio 2015\Projects\BlankCordovaApp2\BlankCordovaApp2\platforms\android\res\drawable-hdpi\icon.png
1>  copying image from C:\Users\billvo\documents\visual studio 2015\Projects\BlankCordovaApp2\BlankCordovaApp2\res\icons\android\icon-96-xhdpi.png to C:\Users\billvo\documents\visual studio 2015\Projects\BlankCordovaApp2\BlankCordovaApp2\platforms\android\res\drawable-xhdpi\icon.png
1>  Wrote out Android package name to "io.cordova.myapp2a20d4"
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========

I'm still not able to select the target device for debugging, regardless of whether I build for Android, Windows-AnyCPU, or Windows Phone 8. 无论我是为Android,Windows-AnyCPU还是Windows Phone 8构建,我仍然无法选择目标设备进行调试。

UPDATE 3: The images below show the Visual Studio 2015 components installed. 更新3:下图显示了安装的Visual Studio 2015组件。 I tried adding Visual C++ Mobile Development, but saw no change in Cordova, so I removed it. 我尝试添加Visual C ++ Mobile Development,但在Cordova中没有看到任何变化,所以我删除了它。

添加/删除1

添加/删除2

添加/删除3

添加/删除4

UPDATE 4: When I logged into a new local user account, I'm able to debug against the Visual Studio Emulator for Android. 更新4:当我登录到新的本地用户帐户时,我可以针对Android的Visual Studio模拟器进行调试。 This tells me that the problem is likely specific to my primary Windows account's profile. 这告诉我该问题可能特定于我的主Windows帐户的配置文件。 I could probably fix this by deleting my profile and starting fresh. 我可以通过删除我的个人资料并开始新鲜来解决这个问题。

Looks like a library is corrupted from the upgrade. 看起来库已从升级中损坏。 Please give this a try: 请尝试一下:

  1. Close all VS instances 关闭所有VS实例
  2. cd %appdata%\\Local\\Microsoft\\Phone Tools” cd%appdata%\\ Local \\ Microsoft \\ Phone Tools“
  3. rename CoreCon folder 重命名CoreCon文件夹
  4. Launch VS again. 再次启动VS.

Let us know if this resolves your issue. 如果这可以解决您的问题,请告诉我们。 Thanks for using VS 2015 and Tools for Apache Cordova. 感谢您使用VS 2015和Apache Cordova工具。

Soak. 浸泡。

The Answer "Subhag Oak" gave, worked for me. 答案“Subhag Oak”给了我,为我工作。

Here the documentation of my research, if it does not work for any other user. 这里是我的研究文档,如果它不适用于任何其他用户。

Watch the output , to get your specific cause. 观察输出 ,以了解您的具体原因。 Increase the build-Verbosity in VS-Options. 增加VS-Options中的build-Verbosity。

go to Tools -> Options -> Tools for Apache Cordova, click the 'Run Dependency Checker' . 转到工具 - >选项 - > Apache Cordova工具,单击“运行依赖关系检查器”

Check the installed Visual Studio features, this is selected by default: 检查已安装的Visual Studio功能,默认情况下已选中:

VS for Cordova-Development

Compared to msdn:Install Tools for Cordova msdn:Cordova的安装工具相比

Add also: 另外还添加:

  • Emulator for Windows Phone 8.1 适用于Windows Phone 8.1的模拟器
  • Android Native Development Kit (R10E, 32 bits) Android原生开发套件(R10E,32位)

And if you still get no emulator after compiling a blank cordova app: 如果你在编译一个空白的cordova应用程序后仍然没有得到模拟器:

没有预装8.1。模拟器

I think then you have to install google chrome: msdn "The installer does not install Google Chrome, which is required if you want to run the Apache Ripple simulator for iOS and Android, and it does not install Apple iTunes, which is required for deploying an app to an iOS device connected to your Windows PC." 我认为你必须安装谷歌浏览器: msdn “安装程序不安装谷歌浏览器,如果你想为iOS和Android运行Apache Ripple模拟器,这是必需的,它不会安装Apple iTunes,这是部署所必需的连接到Windows PC的iOS设备的应用程序。“

Also check your Hyper-V Settings: 还要检查Hyper-V设置:

I'm checking out the Tools\\Visual Studio Emulator for Android: 我正在查看适用于Android的Tools \\ Visual Studio模拟器: 激活的模拟器消息

Check the SystemRequirements 检查SystemRequirements

Check this link: Troubleshooting the Visual Studio Emulator for Android 检查此链接: 对Android的Visual Studio模拟器进行故障排除

Or give "reinstalling node.js" a chance. 或者给“重新安装node.js”一个机会。 Wait for "Setup Repair" again. 等待“安装修复”再次。

The solutions above didn't work me. 上面的解决方案对我没用。 But after searching the net for hours, I came to this solution that worked like a charm: 但在网上搜索了好几个小时后,我找到了一个像魅力一样的解决方案:

If the “Tools for Universal Windows Apps Development” are still installed: 如果仍安装了“通用Windows应用程序开发工具”:

  1. Go to Programs and Features, select Visual Studio 2105, click Change. 转到“程序和功能”,选择“Visual Studio 2105”,然后单击“更改”。
  2. In Visual Studio setup, click Modify. 在Visual Studio安装程序中,单击“修改”。
  3. Deselect the feature “Tools for Universal Windows App Development” 取消选择“通用Windows应用程序开发工具”功能
  4. Select “Tools for Universal Windows App Development” again, and click Update. 再次选择“通用Windows应用程序开发工具”,然后单击“更新”。

Source: https://social.msdn.microsoft.com/Forums/vstudio/en-US/c9936d80-087d-4cad-93bf-ca4873889773/the-debugger-cannot-continue-running-the-process?forum=vsdebug 资料来源: https//social.msdn.microsoft.com/Forums/vstudio/en-US/c9936d80-087d-4cad-93bf-ca4873889773/the-debugger-cannot-continue-running-the-process?forum=vsdebug

@SubhagOak solution to rename CoreCon folder worked for me too, even tho a slightly different pre-deployment scenario. @SubhagOak重命名CoreCon文件夹的解决方案也适用于我,即使是一个稍微不同的预部署方案。 Could not deploy from VS2015 to Android device via USB debuging. 无法通过USB debuging从VS2015部署到Android设备。 Error notification was generated via VS pop up basiclly stating Could Not Find File but no errors were listed in VS Error Console. 错误通知是通过VS弹出基本生成无法查找文件但VS错误控制台中未列出任何错误而生成的。 It only generated a pop up. 它只生成一个弹出窗口。 Received this error after opening a new local branch of a newly cloned local GIThub repo created using VS2015 Teamwork Explorer. 在打开使用VS2015 Teamwork Explorer创建的新克隆的本地GIThub仓库的新本地分支后收到此错误。

This is the second time this solution has worked for me; 这是这个解决方案第二次为我工作; same scenario. 同样的情况。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Visual Studio不会在Android模拟器上部署项目 - Visual Studio Won't Deploy Project On Android Emulator 使用Visual Studio 2015将用android studio编写的android应用程序转换为Windows Phone应用程序 - converting android application written in android studio to windows phone app using visual studio 2015 Visual Studio 2015 Cordova:部署失败 - Visual Studio 2015 cordova: deploy failed 是否可以从VS2015和VS2017中的同一Visual Studio项目中定位Windows和Android? - Is it possible to target Windows and Android from the same Visual Studio project in VS2015 & VS2017? Visual Studio 2015为Android和Windows平台配置单个C ++项目 - Visual Studio 2015 configuring a single C++ project for Android and Windows platforms 在VMware上使用Visual Studio 2015 Cordova调试Android应用,并发现debug.keystore错误 - debug Android app using Visual Studio 2015 Cordova on a VMware and have debug.keystore not found error 在Parallels上运行时将无法生成Visual Studio Cordova项目 - Visual Studio Cordova project won't build when running on Parallels 将Admob添加到Visual Studio 2015 cordova项目中? - Adding Admob to a Visual Studio 2015 cordova project? 适用于 Android 的 Visual Studio 2015 模拟器无法启动/启动 - Visual Studio 2015 Emulator For Android Won't start/boot 无法从Android Windows模拟器(Visual Studio 2015 / Xamarin)访问localhost - Can't access localhost from Android Windows Emulator (Visual Studio 2015 / Xamarin)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM