I'm trying to debug a Xamarin App on my Google Pixel with Android 8.0 installed. When I deploy, Xamarin says it is Google Pixel (Android 7.99).
When I debug, it says unable to connect to logcat, GetProcessId returned 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.
7.99 refers to an unreleased version. It will change to 8.0 when it's released. Xamarin.iOS does a similar item with their releases:
https://developer.xamarin.com/releases/ios/xamarin.ios_10/xamarin.ios_10.99/ (Notice the note of "preview")
As for the bug, this is a known issue with Visual Studio on Windows and Android Oreo devices:
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. Otherwise just use a non-Oreo device/emulator until we get this fixed.
For a future note to help save you time, use our Bugzilla repository and paste the error you are seeing. ie 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!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.