2013-10-14 1 views
2

Я пытаюсь добавить это в моем main.xmlне могу добавить объявления баннера на AirPush новый SDK

<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' 

любая помощь

спасибо

ответ

8

Вам также нужно поместить файл mraid_attrs.xml в папку res> values ​​вашего приложения. Этот файл включен в загрузку SDK.