I get and am mistaken when trying to compile an Android project in VS2017 with Xamarin. I was getting a string like an invalid error, and one of the suggestions was updating all of my Xamarin.Android links. I found one that was observable for Xamarin.Core, so I installed it. Every time since then I get a permission error. I tried to remove the obj and bin directories and restart vs and my laptop.
Error Failed to complete the ResolveLibraryProjectImports task. System.IO.PathTooLongException: The specified path, file name, or both are too long. A fully qualified file name must be less than 260 characters, and a directory name> must be less than 248 characters. in System.IO.PathHelper.GetFullPathName () in System.IO.Path.LegacyNormalizePath (String path, Boolean fullCheck, Int32> maxPathLength, Boolean expandShortPaths) in System.IO.Path.NormalizePath (String path, Booleanth fullCheCenthp> , Boolean expandShortPaths) in System.IO.Path.NormalizePath (String path, Boolean fullCheck, Int32> maxPathLength) in System.IO.FileStream.Init (String path, FileMode mode, FileAccess access,> Int32 rights, Boolean useRights, share FileShare, Int32 bufferSize,> Parameters FileOptions, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean> bFromProxy, Boolean useLongPath, Boolean checkHost) in System.IO.FileStream..ctor (String path, FileMode mode, FileAccess>, fileShare sharing) System.IO.File.Open (String path, FileMode mode) on Xamarin.Tools.Zip.ZipEntry.DoExtract (IntPtr zipFile, String> destinationPath, FileMode outputFileMode, EntryExtractEventArgs a rgs) on Xamarin.Tools.Zip.ZipEntry.Extract (String destinationDir, String> destinationFileName, FileMode outputFileMode) on Xamarin.Android.Tools.Files.ExtractAll (ZipArchive zip, String> destination, Action 2 progressCallback) at Xamarin.Android.Tasks.ResolveLibraryProjectImports.Extract (DirectoryAssemblyResolver res, ICollection 1 jars, ICollection 1 >resolvedResourceDirectories, ICollection ICollection 1 resolAssetDirectories,> ICollection`1 resolvedEnvironments) on Xamarin.Android.Tasks.ResolveLibraryBecject.jects. Microsoft.Build.BackEnd.ITaskExecutio> nHost.Execute () at> Microsoft.Build.BackEnd.TaskBuilder.d__26.MoveNext () LayoutExample.Android