How to fix Xamarin "Could not find file xamarin.android.glide.disklrucache\4.12.0.4\buildTransitive\monoandroid10.0\..\..\jar\annotations.jar

Viewed 370

I am trying to build a Xamarin.Forms project and this error came up:

Severity    Code    Description Project File    Line    Suppression State
Error: Could not find file 'C:\Users\CODED\.nuget\packages\xamarin.android.glide.disklrucache\4.12.0.4\buildTransitive\monoandroid10.0\..\..\jar\annotations.jar'.
File name: 'C:\Users\CODED\.nuget\packages\xamarin.android.glide.disklrucache\4.12.0.4\buildTransitive\monoandroid10.0\..\..\jar\annotations.jar'
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
  
2 Answers

This problem seems to be caused by different versions.

Try to uninstall the Nuget package and reinstall 4.12.0.2 or 4.12.0.0 to try.

Related