我试图将内部活动集成到我的应用程序中。我下载了示例项目,但在 xml 文件中出现错误...
Multiple annotations found at this line:
- error: No resource identifier found for attribute 'adType' in package 'com.inneractive.api.ads.sample'
- error: No resource identifier found for attribute 'refreshInterval' in package
'com.inneractive.api.ads.sample'
- error: No resource identifier found for attribute 'keywords' in package
'com.inneractive.api.ads.sample'
- error: No resource identifier found for attribute 'appID' in package 'com.inneractive.api.ads.sample'
XML
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<com.inneractive.api.ads.InneractiveAd
android:id="@+id/ad"
xmlns:inneractive="http://schemas.android.com/apk/res/com.inneractive.api.ads.sample"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
inneractive:appID="Android_IA_Test"
inneractive:adType="Banner"
inneractive:keywords="android,test"
inneractive:refreshInterval="120"
android:layout_alignParentBottom="true"
/>
顺便说一句,对于原生 android 应用程序来说,inner-active 是一个正确的选择吗?TIA