[英]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.