- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
在我的主要开发机器上,我创建了一个可以部署但没有广告的应用程序。那台机器坏了并被送去维修,谢天谢地,在我将工作应用程序提交给源代码管理之后。我拿出了一台备用机器,检查了我的项目,进行了许多改进,包括在 Windows 10 UWP 应用程序中成功显示添加。在我的主要开发机器上完成修复后,我更新了模板,以及在修复过程中发生变化的 SDK,“我相信我得到了它们”。我检查了该项目,并在成功构建后尝试部署和调试。
2>------ Deploy started: Project: Decisive.Uwp.T10, Configuration: Debug x86 ------
2>Updating the layout...
2>Copying files: Total 1 mb to layout...
2>Checking whether required frameworks are installed...
2>Framework: Microsoft.Advertising.Xaml/x86, app package version 10.0.1510.0 is not currently installed.
2>Installing missing frameworks...
2>Error : DEP0800 : The required framework "C:\Program Files (x86)\Microsoft SDKs\Windows Kits\10\ExtensionSDKs\Microsoft.Advertising.Xaml\10.0\.\AppX\x86\Microsoft.Advertising.Xaml.x86.10.0.appx" failed to install.
2>error 0x80070005: Opening the package from location Microsoft.Advertising.Xaml.x86.10.0.appx failed.
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========
我删除了 Microsoft.Advertising.Xaml, Version=10.0 留下了 Microsoft.AdMediator.Universal, Version=1.0 该应用程序现在可以部署和运行,但不会t 似乎显示添加。我注意到以下警告;
(我不知道如何用 wrap 格式化以下内容,所以它不需要滚动很多页宽。我把它留作段落。)
SDK“Microsoft.AdMediator.Universal,Version=1.0”依赖于以下 SDK“Microsoft.Advertising.Xaml,Version=10.0”,它们尚未添加到项目中或未找到。请确保将这些依赖项添加到项目中,否则您可能会遇到运行时问题。您可以通过引用管理器向您的项目添加依赖项。
这两个库的版本在用于创建此应用程序的两台机器之间匹配。
我在尝试解决此错误时不知所措错误:DEP0800:所需的框架“C:\Program Files (x86)\Microsoft SDKs\Windows Kits\10\ExtensionSDKs\Microsoft.Advertising.Xaml\10.0.\AppX\x86\Microsoft.Advertising.Xaml.x86.10.0.appx"安装失败。
附加信息 10/21/2015 2008 MSTFWIW 在两个引用都完好无损的情况下,在不会在本地或模拟器中部署到我的 Windows 10 笔记本的状态下,我部署到了 Windows Phone 移动模拟器。没有错误,应用程序运行。虽然似乎没有显示广告。
在应用程序本地部署到windows 10并显示广告的备用机器上,广告在win10模拟器和移动模拟器中显示。
附加信息 10/22/2015 0930 MST关于 this 的评论有关 WinTools 1.1、TypeScript 1.6 RTM 和 Apache Cordova 更新工具 的帖子可能会阐明该问题。他们详细说明了一些开发人员在安装 AdMediator 显然依赖的 win 工具 1.1 更新时遇到的问题。
最佳答案
我有一些很好的后见之明,你可以看到我做了什么假设。
我联系了 Microsoft 的一位 PM,他说;
Yes, we are aware of the issue that you are talking about. But that issue might be a red herring in this context – it is all about just false notifications showing up when you do the upgrade. That should not have really caused the issue with the AdControl (if you truly had the issue with a bogus install of the tools, you could not even create or build a UWP app of any kind).
最后我尝试以管理员身份运行 Visual Studio。我能够部署该应用程序。之后我退出 Visual Studio,然后以正常权限重新启动。现在,我无需以管理员身份运行 Visual Studio 即可部署该应用。
关于c# - XAML UWP 应用中的 Microsoft Universal Ad Client SDK 广告中介,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33272444/
我遇到了一个错误,我不知道如何解决。我有以下代码(来自 Eliom Graffiti 教程),我正在尝试使用 make test.byte 进行测试。 open Eliom_content.Html5
我阅读文档的理解是这样的: 客户端是测试用例的子类。当我们运行 manage.py test 时,会为每个以“test_”开头的方法创建一个 SimpleTest 类的实例(它继承自 TestCase
我已经编写了一个用于接收多个客户端的服务器,它可以分别与客户端通信。在这里,我可以列出服务器中已连接的客户端,但是当客户端断开连接时,它不会从服务器中删除客户端。 Server.py import s
我正在制作一个社交网站。当任何用户在站点上更新或创建新内容时,我需要查看站点的任何其他用户来查看更改更新。 我有一些需要低延迟的评论,因此建议为此订阅。 我也有事件,但这些不需要这么低的延迟。每 10
我想在突变后使用乐观 UI 更新:https://www.apollographql.com/docs/react/basics/mutations.html 我对“乐观响应”和“更新”之间的关系感到
我想了解 Dask 在本地机器上的使用模式。 具体而言, 我有一个适合内存的数据集 我想做一些 pandas 操作 分组依据... 日期解析 等等 Pandas 通过单核执行这些操作,这些操作对我来说
我使用 Apollo、React 和 Graphcool。我有一个查询来获取登录的用户 ID: const LoginServerQuery = gql` query LoginServerQ
在本指南的帮助下,我最近在几个设备的应用程序中设置了 P2P 通信:http://developer.android.com/training/connect-devices-wirelessly/n
注意:我在节点项目中使用@twilio/conversations 1.1.0 版。我正在从使用可编程聊天过渡到对话。 我看到对 Client.getConversationByUniqueName
我对服务客户端和设备客户端库有点困惑。谁能解答我对此的疑问。 问题:当我通过 deviceClient 发送数据时,我无法接收数据,但当我使用服务客户端发送数据时,相同的代码可以工作。现在,xamar
我对服务客户端和设备客户端库有点困惑。谁能解答我对此的疑问。 问题:当我通过 deviceClient 发送数据时,我无法接收数据,但当我使用服务客户端发送数据时,相同的代码可以工作。现在,xamar
假设我有一个简单的应用程序。 如何设置 OAuth2 以允许其他应用程序访问我的应用程序的某些部分。 例如,当开发人员想要使用 Facebook API 时,他们会使用 Facebook API 用户
我有两个模块: 在一个模块中,我从另一个模块run 中引用了一个函数: @myorg/server import { Client } from '.' import { Middleware } f
我在通过服务器从客户端向客户端发送数据时遇到了一些问题(以避免监听客户端上的端口)。 我有一个这样的服务器: var net = require("net"); var server = net.cr
我正在使用 django.test.client.Client 来测试用户登录时是否显示某些文本。但是,我的 Client 对象似乎并没有让我保持登录状态。 如果使用 Firefox 手动完成,则此测
有两个我制作的程序无法运行。有服务器和客户端。服务器通过给用户一个 ID(从 0 开始)来接受许多客户端。服务器根据服务器的 ID 将命令发送到特定的客户端。 (示例:200 个客户端连接到 1 个服
今天,我在 Windows 10 的“程序和功能”列表中看到了 2 个不同版本的 ARC,因此我选择卸载旧版本,因为我需要一些空间。在卸载结束时,它们都消失了! 所以,我从 https://insta
在每个新的客户端连接上 fork 服务器进程 不同的进程(服务器的其他子进程,即 exec)无法识别在 fork 子进程中使用相同 fd 的客户端。 如何在其他进程上区分客户端? 如果文件描述符为新
a和b有什么区别? >>> import boto3 >>> a = boto3.Session().client("s3") >>> b = boto3.client("s3") >>> a ==
a和b有什么区别? >>> import boto3 >>> a = boto3.Session().client("s3") >>> b = boto3.client("s3") >>> a ==
我是一名优秀的程序员,十分优秀!