Bug 31203 - "Command did not execute successfully due to an unexpected exception." whening launching ADB via Visual Studio
Summary: "Command did not execute successfully due to an unexpected exception." whenin...
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: Android ()
Version: 4.0.0 (C6)
Hardware: PC Windows
: --- normal
Target Milestone: 4.0.0 (C6)
Assignee: Bugzilla
Depends on:
Reported: 2015-06-17 16:50 UTC by Dylan Kelly
Modified: 2015-09-24 08:35 UTC (History)
5 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Dylan Kelly 2015-06-17 16:50:16 UTC
On the XMA branch of XVS, I am unable to launch the adb command prompt via VS. Currently, on build (d0cf16c), the adb command prompt fails to launch and the user is prompted with an error message. On stable (XVS 3.11.586) I am successfully able to launch the adb command prompt.

Steps to reproduce:
1) Start Visual Studio 2013
2) Select Tools > Android > Android Adb Command Prompt...
3) Observe the adb command prompt fail to launch, with VS prompting "Command did not execute successfully due to an unexpected exception. Please check the output window for additional information."

Supplemental information: adb.exe appeared in the task manager after attempting to launch through VS. When I tried to terminate adb.exe, it kept relaunching. The Xamarin log stated "Adb connection reset" each time but I was still unable to launch adb through VS.

Screencast: http://www.screencast.com/t/abr3D1VM
Environment info: https://gist.github.com/dylankelly5/717a69c3f85f8bfe694e
Comment 1 Enzo Heredia 2015-06-30 10:13:07 UTC
this is fixed Build
Comment 2 Akhilesh kumar 2015-07-06 06:37:38 UTC
I have checked this issue with latest XVS and observe that Android Adb Command Prompt launches successfully without any error.

Screencast: http://screencast.com/t/5FYzubS2OA

Hence closing this issue.