Edit

.NET for Android error XA4237

Example message

error XA4237: Cannot download POM file for Maven artifact 'com.example:mylib:1.0.0'.
error XA4237: - Failed to resolve POM for Maven artifact 'com.example:dependency:2.0.0' from 'https://repo1.maven.org/maven2/com/example/dependency/2.0.0/dependency-2.0.0.pom'.
error XA4237: - Response status code does not indicate success: 404 (Not Found).

Issue

An error was encountered while trying to download the requested POM file or one of its parent or imported POM files from Maven. The message identifies both the originally requested artifact and the POM URL that could not be resolved.

Solution

Check your internet connection and verify that the unresolved artifact is available in the repository specified by the POM URL. The selected repository must contain the requested artifact and all parent or imported POM files needed to resolve it.