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

maj*_*jed 2 eclipse android 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"
   />
Run Code Online (Sandbox Code Playgroud)

这是来自新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'
Run Code Online (Sandbox Code Playgroud)

任何帮助

谢谢

小智 8

您还需要将mraid_attrs.xml文件放入应用程序的res> values文件夹中.该文件包含在SDK下载中.