Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 629 Bytes

File metadata and controls

20 lines (15 loc) · 629 Bytes
title description ms.date
Xamarin.Android error XA1031
XA1031 error code
10/10/2022

Xamarin.Android error XA1031

Example messages

The 'AndroidHttpClientHandlerType' property value 'Foo.Bar.HttpHander, MyApp' must derive from 'System.Net.Http.HttpMessageHandler'.
Please change the value to an assembly-qualifed type name which inherits from '{1}' or remove the property completely.

Solution

Edit your csproj directly and change the 'AndroidHttpClientHandlerType' to a valid value.

Valid values can be found at ~/android/deploy-test/building-apps/build-properties.md#AndroidHttpClientHandlerType.