Bug 58946 - Not able to debug on device running android O beta
Summary: Not able to debug on device running android O beta
Status: RESOLVED DUPLICATE of bug 56740
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: General ()
Version: 4.7.0 (15.4)
Hardware: PC Windows
: --- critical
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2017-08-22 11:30 UTC by mm.farahat
Modified: 2017-08-23 15:26 UTC (History)
5 users (show)

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


Attachments
adb log (959.05 KB, text/plain)
2017-08-23 15:17 UTC, Prashant [MSFT]
Details


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:
Status:
RESOLVED DUPLICATE of bug 56740

Description mm.farahat 2017-08-22 11:30:23 UTC
# Steps to reproduce
-create new xamarin forms / xamarin android app
-connect a device running android O beta using USB and select debug on device.

# Expected behavior
debug should start normally .

# Actual behavior
the app starts on mobile device and immediately close. 

# Supplemental info (logs, images, videos)
 visual studio output window:
Android application is debugging.
Couldn't connect to logcat, GetProcessId returned: 0

# Test environment (full version information)
PC : 
        Microsoft Visual Studio Community 2017 
        Version 15.3.1
        VisualStudio.15.Release/15.3.1+26730.8
        Microsoft .NET Framework
        Version 4.7.02046
        -------
	Xamarin   4.6.0.295 (306f76a)
        Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.
        Xamarin.Android SDK   7.4.0.19 (0cd0214)
        Xamarin.Android Reference Assemblies and MSBuild support.
        Xamarin.iOS and Xamarin.Mac SDK   10.12.0.14 (bf350ba)
        Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.	

Mobile: 
	  Nexus 6P running android 8.0.0  , build number : OPR6.170623.013
Comment 1 mm.farahat 2017-08-22 11:38:35 UTC
Debug in emulator is working fine , also if i choose to run the app on the device (Start without debugging) it works fine !
Comment 2 Prashant [MSFT] 2017-08-23 05:49:24 UTC
I am able to reproduce this issue with Android 8 (final version) on Pixel, running the Visual Studio 2017 v15.3.1 Preview 1, following steps in the #comment 0

# Version Information

Microsoft Visual Studio Enterprise 2017 Preview
Version 15.3.1 Preview 1.0
VisualStudio.15.Preview/15.3.1-pre.1.0+26730.8
Microsoft .NET Framework
Version 4.7.02046

Installed Version: Enterprise


Xamarin   4.7.0.827 (ddd8750)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android SDK   7.5.0.3 (3e66e8e)
Xamarin.Android Reference Assemblies and MSBuild support.

Xamarin.iOS and Xamarin.Mac SDK   10.14.0.4 (c70e3b5)
Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.
Comment 3 Prashant [MSFT] 2017-08-23 15:17:47 UTC
Created attachment 24375 [details]
adb log
Comment 4 Joaquin Jares 2017-08-23 15:26:04 UTC
This is a duplicate of https://bugzilla.xamarin.com/show_bug.cgi?id=56740. We're working on it.

*** This bug has been marked as a duplicate of bug 56740 ***