我正在 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 但它没有用。
我怎么解决这个问题?
我做了一个出租车预订项目,它使用谷歌地图 api 来定位出租车、接送地点。
问题是当我请求乘车时出现以下错误:
This API project is not authorized to use this API
Run Code Online (Sandbox Code Playgroud)
请注意,我已启用所有 google map api 服务,然后重新生成密钥,问题仍然存在。
如何解决这个问题?