小编Ras*_*med的帖子

无法下载包“runtime.win10-x86.Microsoft.Net.UWPCoreRuntimeSdk.2.1.1”

我正在 Visual Studio 2017 中使用 Mobile App,但是当我第一次创建这个项目并尝试构建它时,发生了以下错误:

Failed to download package 'runtime.win10-x86.Microsoft.Net.UWPCoreRuntimeSdk.2.1.1' from 'https://api.nuget.org/v3-flatcontainer/runtime.win10-x86.microsoft.net.uwpcoreruntimesdk/2.1.1/runtime.win10-x86.microsoft.net.uwpcoreruntimesdk.2.1.1.nupkg'.
The HTTP request to 'GET https://api.nuget.org/v3-flatcontainer/runtime.win10-x86.microsoft.net.uwpcoreruntimesdk/2.1.1/runtime.win10-x86.microsoft.net.uwpcoreruntimesdk.2.1.1.nupkg' has timed out after 100000ms.        
Run Code Online (Sandbox Code Playgroud)

我搜索并发现有人建议我应该将我的 DNS 服务器从 8.8.8.8 更改为 208.67.222.222 但它没有用。

我怎么解决这个问题?

c# compiler-errors visual-studio nuget

8
推荐指数
2
解决办法
6438
查看次数

该API项目无权使用该API

我做了一个出租车预订项目,它使用谷歌地图 api 来定位出租车、接送地点。

问题是当我请求乘车时出现以下错误:

This API project is not authorized to use this API
Run Code Online (Sandbox Code Playgroud)

请注意,我已启用所有 google map api 服务,然后重新生成密钥,问题仍然存在。

如何解决这个问题?

api android google-maps

3
推荐指数
1
解决办法
3万
查看次数

标签 统计

android ×1

api ×1

c# ×1

compiler-errors ×1

google-maps ×1

nuget ×1

visual-studio ×1