我一直在使用Android应用程序,您可以使用firebase发送推送通知。但是当我构建应用程序时,我收到了这个错误:
Severity Code Description Project File Line Suppression State
Error Could not find a part of the path 'C:\Users\andre\AppData\Local\XamarinBuildDownloadCache\playservices-10.0.1\playservicesbasement\play-services-basement-10.0.1.aar'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at Xamarin.Build.Download.XamarinBuildAndroidAarRestore.LoadResource(String resourceFullPath, String assemblyName)
at Xamarin.Build.Download.BaseXamarinBuildResourceRestore.MergeResources(IAssemblyResolver resolver, String originalAsmPath, String mergedAsmPath, String assemblyName, List`1 resourceItems) message
我已经尝试删除这些文件夹的内容并重建:
C:\Users\%username%\AppData\Local\Xamarin.*
C:\Users\%username%\AppData\Local\Xamarin\zips
我无法在互联网上找到关于这个问题的任何内容,所以如果有人能帮我解决这个问题会很棒。