Skip to content

Latest commit

 

History

History
35 lines (27 loc) · 1.23 KB

xa4307.md

File metadata and controls

35 lines (27 loc) · 1.23 KB
title .NET for Android error XA4307
description XA4307 error code
ms.date 04/11/2024
f1_keywords
XA4307

.NET for Android error XA4307

Issue

The Proguard MSBuild task encountered a ProGuard configuration file that it could not parse. These files are generally declared in your .NET for Android project with a build action of ProguardConfiguration. However, .NET for Android also generates ProGuard configuration files internally during the build process.

To learn more about ProGuard and how it relates to Android development, see the Android documentation or the ProGuard website.

Solution

Verify you are not declaring a ProguardConfiguration build item that contains valid entries. This can also be caused by the config file containing a Byte Order Mark (BOM) at the start of the file. If this is the case remove the BOM or save the file using ASCII encoding.

Consider submitting a bug if you are getting this error under normal circumstances.