在尝试使用所有默认值创建并运行第一个Xamarin应用程序时,构建失败并出现以下错误:
An unexpected error occurred trying to initialize Android Designer. Please verify the Android SDK path and the Java Development Kit path on Tools->Options->Xamarin->Android Settings menu. Please see the logs for more details.
我尝试了解决方法中建议的解决方案:在VS 2015中使用Xamarin初始化Android Designer时发生了意外错误.但是,似乎没有任何效果.
我知道这Func<T>
是不同的Func<Owned<T>>
,我知道如何注入每种类型的依赖.但是,我经常感到困惑,因为我什么时候比较喜欢一个?
假设,我有一个遵循MVP模式的应用程序,我想注入一个视图PrintView
.然后,基于什么理由我决定我应该将视图注入Func<PrintView>
或Func<Owned<PrintView>>
?
我有一个 WordPress 博客。当我登录到仪表板时,顶部突出显示了以下异常:
[Ga_Lib_Api_Request_Exception] 联系 Google API 时出错:{
"error": { "code": 429, "message": "配额组令牌不足,限制
服务 'analyticsreporting.googleapis.com' 的 'AnalyticsDefaultGroupCLIENT_PROJECT-1d' ,
使用 ID '123******456' 的限制。", "status": "RESOURCE_EXHAUSTED",
"details": [ { "@type": "type.googleapis.com/google.rpc.Help ",
"links": [ { "description": "Google 开发者控制台 API 密钥",
"url": "https://console.developers.google.com/project/207216681371/apiui/credential"}]}]} }
从异常消息中我可以推断出它与 Google Analytics 及其 API 有关。
但是,我很想知道是什么导致了这个异常。另外,我可以采取哪些步骤来避免此类异常?
wordpress google-analytics google-api quota google-analytics-api