3

通过查看此链接,我尝试在 android 中实现 Adwhirl

https://www.adwhirl.com/doc/android/AdWhirlAndroidSDKSetup.html

我在 admob 和 Adwhirl 中都创建了帐户。在进行中的 adwhirl 请求....

但我的日志显示

: Rotating Ad
: Dart is <64.45885525893553> of <100.0>
04-26 09:01:34.164: DEBUG/AdWhirl SDK(322): Showing ad:
04-26 09:01:34.164: DEBUG/AdWhirl SDK(322):     nid: c2f1ad5211f0471d84002ae595aafe37
04-26 09:01:34.164: DEBUG/AdWhirl SDK(322):     name: admob
04-26 09:01:34.164: DEBUG/AdWhirl SDK(322):     type: 1
04-26 09:01:34.164: DEBUG/AdWhirl SDK(322):     key: a14cc177ec52af5
04-26 09:01:34.164: DEBUG/AdWhirl SDK(322):     key2: 
04-26 09:01:34.204: WARN/AdWhirl SDK(322): Unsupported ration type: 1
04-26 09:01:34.373: DEBUG/dalvikvm(322): GC freed 8949 objects / 767976 bytes in 155ms
04-26 09:01:34.383: WARN/AdWhirl SDK(322): Caught an exception in adapter:
04-26 09:01:34.383: WARN/AdWhirl SDK(322): java.lang.Exception: Invalid adapter
04-26 09:01:34.383: WARN/AdWhirl SDK(322):     at com.adwhirl.adapters.AdWhirlAdapter.handle(AdWhirlAdapter.java:166)
04-26 09:01:34.383: WARN/AdWhirl SDK(322):     at com.adwhirl.AdWhirlLayout.handleAd(AdWhirlLayout.java:222)
04-26 09:01:34.383: WARN/AdWhirl SDK(322):     at com.adwhirl.AdWhirlLayout.access$3(AdWhirlLayout.java:205)
04-26 09:01:34.383: WARN/AdWhirl SDK(322):     at com.adwhirl.AdWhirlLayout$HandleAdRunnable.run(AdWhirlLayout.java:390)
04-26 09:01:34.383: WARN/AdWhirl SDK(322):     at android.os.Handler.handleCallback(Handler.java:587)
04-26 09:01:34.383: WARN/AdWhirl SDK(322):     at android.os.Handler.dispatchMessage(Handler.java:92)
04-26 09:01:34.383: WARN/AdWhirl SDK(322):     at android.os.Looper.loop(Looper.java:123)
04-26 09:01:34.383: WARN/AdWhirl SDK(322):     at android.app.ActivityThread.main(ActivityThread.java:4338)
04-26 09:01:34.383: WARN/AdWhirl SDK(322):     at java.lang.reflect.Method.invokeNative(Native Method)
04-26 09:01:34.383: WARN/AdWhirl SDK(322):     at java.lang.reflect.Method.invoke(Method.java:521)
04-26 09:01:34.383: WARN/AdWhirl SDK(322):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
04-26 09:01:34.383: WARN/AdWhirl SDK(322):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
04-26 09:01:34.383: WARN/AdWhirl SDK(322):     at dalvik.system.NativeStart.main(Native Method)
04-26 09:01:34.395: ERROR/AdWhirl SDK(322): nextRation is null!
04-26 09:01:34.395: DEBUG/AdWhirl SDK(322): Will call rotateAd() in 30 seconds
04-26 09:02:04.463: INFO/AdWhirl SDK(322): Rotating Ad

我认为这是造成问题

04-26 09:01:34.204: WARN/AdWhirl SDK(322): Unsupported ration type: 1

任何解决方案...请帮助

4

1 回答 1

1

您是否在项目的构建路径中包含了 AdMob SDK?查看这些说明

于 2011-07-18T10:04:51.540 回答