首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法添加airpush新SDK的横幅广告

无法添加airpush新SDK的横幅广告
EN

Stack Overflow用户
提问于 2013-10-14 15:30:11
回答 1查看 1K关注 0票数 2

我正在尝试将它添加到我的main.xml中

代码语言:javascript
复制
   <com.jrlnv.qmais91534.AdView
   xmlns:ap="http://schemas.android.com/apk/res-auto"
   android:id="@+id/myAdView"
   android:layout_width="wrap_content"
   android:layout_height="wrap_content"
   ap:animation="fade"
   ap:banner_type="inappad"
   ap:placementType="interstitial"
   ap:test_mode="false"
   ap:canShowMR="false"
   />

这是来自新的airpush SDK的横幅广告

但我犯了这个错误

代码语言:javascript
复制
Multiple annotations found at this line:
    - error: No resource identifier found for attribute 'canShowMR' in package 'com.MKA'
    - error: No resource identifier found for attribute 'placementType' in package 'com.MKA'
    - error: No resource identifier found for attribute 'banner_type' in package 'com.MKA'
    - error: No resource identifier found for attribute 'animation' in package 'com.MKA'
    - error: No resource identifier found for attribute 'test_mode' in package 'com.MKA'

任何帮助

谢谢

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2013-11-09 22:23:08

您还需要将mraid_attrs.xml文件放置到应用程序的res >value文件夹中。此文件包含在SDK下载中。

票数 8
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/19363780

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档