Condividi tramite


.NET for Android error XA4234

Messaggio di esempio

error XA4234: '<AndroidMavenLibrary>' item 'com.example:mylib' is missing required attribute 'Version'.

Problema

The specified MSBuild XML item requires the specified XML attribute.

For example the following item is missing the required 'Version' attribute:

<ItemGroup>
  <AndroidMavenLibrary Include="com.example:mylib" />
</ItemGroup>

Soluzione

To resolve this error, ensure that the specified XML contains the specified attribute:

<ItemGroup>
  <AndroidMavenLibrary Include="com.example:mylib" Version="1.0.0" />
</ItemGroup>