任何人都可以帮我实施AirPush横幅广告吗?我试图根据他们的文档这样做.但我认为文档不够好.因为我正在复制他们给出的相同代码.但我仍然无法收到任何横幅广告.虽然我可以收到通知和智能墙广告,但不能收到横幅广告.请帮我.这是他们的文档. http://manage.airpush.com/docs/index.php?title=Android_SDK_6.0_Documentation
我在Airpush for Android上阅读了不同的观点.
有几个人写的
请与来源分享详细信息:
我在我的Android应用程序中嵌入了空气推送广告.我在layout.xml文件中添加了adview.它有错误
Multiple annotations found at this line:
- error: No resource identifier found for attribute 'canShowMR' in package 'com.GUI.traficsing'
- error: No resource identifier found for attribute 'banner_type' in package 'com.GUI.traficsing'
- error: No resource identifier found for attribute 'placementType' in package 'com.GUI.traficsing'
- error: No resource identifier found for attribute 'refresh_time' in package 'com.GUI.traficsing'
- error: No resource identifier found for attribute 'animation' in package 'com.GUI.traficsing'
- error: No resource identifier found for attribute 'test_mode' in package 'com.GUI.traficsing'
Run Code Online (Sandbox Code Playgroud)
谢谢
我想在我的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 …Run Code Online (Sandbox Code Playgroud)