다음을 통해 공유


Android용 .NET 오류 XA1031

예제 메시지

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.
The 'AndroidHttpClientHandlerType' property value '.NET for Android.Net.AndroidClientHandler' must not derive from 'System.Net.Htt.HttpClientHandler'.
Please change the value to an assembly-qualifed type name which inherits from 'System.Net.Http.HttpMessageHandler' or remove the property completely.

솔루션

csproj를 직접 편집하고 'AndroidHttpClientHandlerType'을 유효한 값으로 변경합니다.

유효한 값은 .에서 ~/android/deploy-test/building-apps/build-properties.md#AndroidHttpClientHandlerType찾을 수 있습니다.