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

时间:2013-10-14 15:30:11

标签: android eclipse airpush

我想在main.xml中添加它

   <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的横幅广告

但我得到了这个错误

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'

任何帮助

谢谢

1 个答案:

答案 0 :(得分:8)

您还需要将mraid_attrs.xml文件放入应用的res&gt;值文件夹。该文件包含在SDK下载中。