【问题标题】:Adrotator in Windows Phone 8.1. XAMLWindows Phone 8.1 中的 Adrotator。 XAML
【发布时间】:2015-05-23 13:12:12
【问题描述】:

我想在 windows phone 8.1 中将 admob 与 adrotator 集成。

xmlns:adRotator="using:AdRotator"
.....
 <adRotator:AdRotatorControl 
    x:Name="MyAdRotatorControl"
    AdHeight="90"
    AdWidth="728"
    LocalSettingsLocation="defaultAdSettings.xml"
    AutoStartAds="True" />

它给了我一个类似的错误

Cannot find type System.Windows.Controls.UserControl in module System.Windows.dll.

请给我解决方案如何在 windows phone 8.1 中使用 adrotator。提前致谢。

【问题讨论】:

    标签: c# xaml windows-phone-8.1 adrotator


    【解决方案1】:

    目前这是不可能的,因为 Ad Rotator 使用的是 Windows Phone 8.0 AdMob SDK。您看到的错误与尝试在 Windows Phone 8.1 项目中使用 Windows Phone 8.0 AdMob SDK 时遇到的错误相同。见this google groups post。在 Google 发布适用于 Windows Phone 8.1 的 AdMob SDK 之前,Ad Rotator + AdMob 将无法在 Windows Phone 8.1 上运行。

    【讨论】: