【问题标题】:mopub banner ad is not displaying in android using android studio使用 android studio 在 android 中未显示 mopub 横幅广告
【发布时间】:2016-09-01 11:04:41
【问题描述】:

gradlei importedmopub SDKi refereed this link [ref link][1] first onejCenter AARafter that i added code inmanifest.xml` 但仍然没有加载横幅我收到类似的错误

    D/MoPub: Attempting to invoke custom event: com.mopub.mobileads.GooglePlayServicesBanner
D/MoPub: Couldn't locate or instantiate custom event: com.mopub.mobileads.GooglePlayServicesBanner.
V/MoPub: MoPubErrorCode: Unable to find Native Network or Custom Event adapter

我在谷歌搜索我得到了像这样添加的解决方案The banner and interstitial adapters (e.g. GooglePlayServicesBanner.java and GooglePlayServicesInterstitial.java) should be placed in the com/mopub/mobileads folder in the MoPub SDK 但我正在使用 android studio gradle lib 所以如何使用它可以帮助我。

【问题讨论】:

标签: android mopub android-studio-2.2


【解决方案1】:

您无需将文件放在 com/mopub/mobileads 中。您可以将其放在您的 src 文件夹中,包名称为 com.mopub.mobileads。 (确保您已将文件移动到您的应用项目,而不是在“附加”文件夹中)

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2021-02-26
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多