C# Xamarin表单-谷歌凭证

C# Xamarin表单-谷歌凭证,c#,firebase,google-cloud-firestore,C#,Firebase,Google Cloud Firestore,我正在设置Firestore云,我安装了Firestore SDK,并将环境变量GOOGLE_APPLICATION_CREDENTIALS设置为我的GOOGLE-services.json路径 出现以下错误: Error reading credential file from location D:\Downloads\google-services.json: Error creating credential from JSON. Unrecognized credential type

我正在设置Firestore云,我安装了Firestore SDK,并将环境变量GOOGLE_APPLICATION_CREDENTIALS设置为我的GOOGLE-services.json路径

出现以下错误:

Error reading credential file from location D:\Downloads\google-services.json:
Error creating credential from JSON. Unrecognized credential type. 
Please check the value of the Environment Variable GOOGLE_APPLICATION_CREDENTIALS
我尝试了很多方法来解决,但我没有解决它。
我怎样才能解决这个问题?我从Firebase获得了google.services.json文件。

Hi!,你检查过那辆车了吗?您还可以在Linux中使用
cat$GOOGLE\u APPLICATION\u凭据检查内容是否为JSON吗?如果您试图使用GOOGLE.Cloud.Firestore库,请注意Xamarin不是受支持的平台。看见