Poznámka:
Přístup k této stránce vyžaduje autorizaci. Můžete se zkusit přihlásit nebo změnit adresáře.
Přístup k této stránce vyžaduje autorizaci. Můžete zkusit změnit adresáře.
Ukázková zpráva
error XA4236: Cannot download Maven artifact 'com.example:mylib'.
error XA4236: - mylib-1.0.0.jar: Response status code does not indicate success: 404 (Not Found).
error XA4236: - mylib-1.0.0.aar: Response status code does not indicate success: 404 (Not Found).
Problém
Errors were encountered while trying to download the requested Java library from Maven.
For example the following item doesn't actually exist on Maven Central, resulting in "Not Found":
<ItemGroup>
<AndroidMavenLibrary Include="com.example:mylib" Version="1.0.0" />
</ItemGroup>
Řešení
Resolving this error depends on the error message specified.
It could be things like:
- Check your internet connection.
- Ensure you have specified the correct group id and artifact id.
- Ensure you have specified the correct Maven repository.
Additional documentation about configuring <AndroidMavenLibrary>.