简体   繁体   English

Visual Studio 2017-Xamarin将设备显示为Android版本7.99,而不是8.0

[英]Visual Studio 2017 - Xamarin shows device as Android Version 7.99 instead of 8.0

I'm trying to debug a Xamarin App on my Google Pixel with Android 8.0 installed. 我正在尝试在安装了Android 8.0的Google Pixel上调试Xamarin App。 When I deploy, Xamarin says it is Google Pixel (Android 7.99). 部署时,Xamarin表示它是Google Pixel(Android 7.99)。

When I debug, it says unable to connect to logcat, GetProcessId returned 0 当我调试时,它说无法连接到logcat,GetProcessId返回0

Are these two related? 这两个有关系吗? How can I fix? 我该如何解决? I've reinstalled drivers, installed the latest SDKs, restarted ADB server, and still have this issue. 我已经重新安装了驱动程序,安装了最新的SDK,重新启动了ADB服务器,但仍然遇到此问题。

7.99 refers to an unreleased version. 7.99是指未发布的版本。 It will change to 8.0 when it's released. 发布时将更改为8.0。 Xamarin.iOS does a similar item with their releases: Xamarin.iOS在其发行版中做了类似的项目:

https://developer.xamarin.com/releases/ios/xamarin.ios_10/xamarin.ios_10.99/ (Notice the note of "preview") https://developer.xamarin.com/releases/ios/xamarin.ios_10/xamarin.ios_10.99/ (请注意“预览”的注释)

As for the bug, this is a known issue with Visual Studio on Windows and Android Oreo devices: 至于该错误,这是Windows和Android Oreo设备上Visual Studio的一个已知问题:

https://bugzilla.xamarin.com/show_bug.cgi?id=56740 https://bugzilla.xamarin.com/show_bug.cgi?id=56740

Visual Studio for Mac does not experience this issue, so you could workaround that problem by using a Mac temporarily. Visual Studio for Mac不会遇到此问题,因此您可以暂时使用Mac来解决此问题。 Otherwise just use a non-Oreo device/emulator until we get this fixed. 否则,请使用非Oreo设备/仿真器,直到我们解决此问题为止。

For a future note to help save you time, use our Bugzilla repository and paste the error you are seeing. 为了将来可以帮助您节省时间,请使用我们的Bugzilla存储库并粘贴您看到的错误。 ie unable to connect to logcat, GetProcessId returned 0 . unable to connect to logcat, GetProcessId returned 0 If there's an existing issue, you can comment on it, and if there is not, feel free to file a bug and our teams will assist you as soon as we can! 如果存在问题,可以对此发表评论,如果没有,请随时提交错误,我们的团队将尽快为您提供帮助!

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

相关问题 Xamarin(Android)单元测试在Visual Studio 2017中 - Xamarin (Android) Unit Tests in Visual Studio 2017 Visual Studio 2017 中的 Android 设备管理器显示“缺少 Android SDK 平台” - Android Device Manager in Visual Studio 2017 shows 'Android SDK Platform is Missing' 如何将V4.4下的Android设备添加到Visual Studio 2017模拟器Xamarin - How can i add Android Device under V4.4 to visual studio 2017 emulator Xamarin Visual Studio未显示要调试的android设备(Xamarin) - Visual studio not showing android device to debug (Xamarin) Visual Studio 2017上的Xamarin android模拟器不可用 - Xamarin android emulator on Visual Studio 2017 blacked out Xamarin传统Android项目在Visual Studio 2017上构建但出现错误 - Xamarin Traditional Android Project Build On Visual Studio 2017 But Have Error Visual Studio 2017 Android 设备管理器认为 WHPX 未正确安装 - Visual Studio 2017 Android Device Manager thinks WHPX is not properly installed 如何下载最新版 Android SDK for Visual Studio .NET 2017 - How to download the latest version of Android SDK for Visual Studio .NET 2017 使用Visual Studio 2017调试xamarin应用 - Debuging xamarin app using Visual Studio 2017 Visual Studio 2017,Xamarin,WCF无法连接 - visual studio 2017, xamarin, wcf not connecting
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM