Compartilhar via


.NET for Android error XA4248

Mensagem de exemplo

error XA4248: Could not find NuGet package 'Xamarin.Kotlin.StdLib' version '1.9.0' in lock file. Ensure NuGet Restore has run since this <PackageReference> was added.

Questão

The NuGet lock file has not been generated and thus Java dependencies from NuGet packages cannot be resolved.

Solução

Run NuGet Restore for the project to ensure the lock file has been generated.