Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/319.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# Xamarin中的错误:`找不到路径play-services-base-10.0.1.aar的一部分`_C#_Firebase_Xamarin.android_Google Play Services - Fatal编程技术网

C# Xamarin中的错误:`找不到路径play-services-base-10.0.1.aar的一部分`

C# Xamarin中的错误:`找不到路径play-services-base-10.0.1.aar的一部分`,c#,firebase,xamarin.android,google-play-services,C#,Firebase,Xamarin.android,Google Play Services,我一直在开发一个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-

我一直在开发一个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

我在网上找不到关于这个问题的任何信息,所以如果有人能帮我解决这个问题,那就太好了。

我也有同样的问题。。。这方面有进展吗?不幸的是没有。@Michael我开始使用android studio。我以前在xamarin上犯的所有错误都在android studio中消失了。Android studio让它变得更简单。