简体   繁体   English

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

[英]cant add the banner Ads of the airpush new SDK

i am trying to add this in my main.xml 我想在我的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"
   />

this is the banner ads from the new airpush SDK 这是来自新airpush SDK的横幅广告

but i got this errors 但我得到了这个错误

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'

any help 任何帮助

thank you 谢谢

You also need to place the mraid_attrs.xml file into your app's res > values folder. 您还需要将mraid_attrs.xml文件放入应用程序的res> values文件夹中。 This file is included within the SDK download. 该文件包含在SDK下载中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM