dotnet / android

.NET for Android provides open-source bindings of the Android SDK for use with .NET managed languages such as C#
MIT License
1.93k stars 532 forks source link

NullReferenceException in FastDeploy #9514

Open dotMorten opened 1 week ago

dotMorten commented 1 week ago

Android framework version

net9.0-android

Affected platform version

VS2022 17.12

Description

Something was going wrong with ADB, but it resulted in a nullref exception in FastDeploy. I can't see the source, but the error should be clear enough to where the null-check should be added and provide a better error about what went wrong: Image

Steps to Reproduce

I'm honestly not sure. Emulators were in a bad state in general, and required a system restart to start connecting again.

Did you find any workaround?

Restart Windows.

Relevant log output

dellis1972 commented 1 week ago

Fix via https://github.com/xamarin/monodroid/pull/1557