You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Context: dotnet/android#2004
Sometimes the xamarin-android-tools bump on xamarin-android works.
Sometimes it doesn't.
(Insert gnashing of teeth and tearing of hair here.)
Even "better", the path it's complaining about is entirely
non-sensical, and not reproducible except on certain machines:
Xamarin.Android.Common.targets(691,2): warning : Not a valid JDK directory: `/var/folders/19/hjm21bn17913_0ck7nh3thdr0000gn/T/tmp731daee6.tmp/microsoft_dist_openjdk_1.8.999`
That path *looks* like a path that `AndroidSdkInfoTests.cs` would
generate, except that test *isn't executed* -- or built! -- so
*where is that path coming from?!*
Surely it comes from `AppDomain.GetData()`, says I. So I add some
logging to print out the value of the `AppDomain.GetData()` value,
and...it has no value.
So ***REALLY***, where is `/var/folders/...` coming from?
To answer *that* question, update `JdkInfo.TryGetJdkInfo()` to print
out a "category" for what directory we're loading. With luck, this
bit of contextual information will help us narrow down where it's
coming from. Maybe.
0 commit comments