When I try build my Xamarin.Forms Android solution in Visual Studio 2017, I got error message:
everity Code Description Project File Line Suppression State
Error The "AdjustJavacVersionArguments" task failed unexpectedly.
System.NullReferenceException: Object reference not set to an instance of an object.
at Xamarin.Android.Tasks.AdjustJavacVersionArguments.Execute()
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
at Microsoft.Build.BackEnd.TaskBuilder.d__26.MoveNext() XamarinApp2.Android
What could be the cause of this error?