0

gradle i importedmopub SDK i refereed this link [ref link][1] first onejCenter AAR after 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 gradlelib,所以如何使用它可以帮助我。

4

1 回答 1

0

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

于 2016-11-21T12:18:46.327 回答