0

我正在尝试在我的 Android(2.2) 应用程序上通过 Adwhirl(2.6.3) 使用 inMobi(ver 2)。但我收到了一个奇怪的问题。

你知道有什么问题吗?

这是堆栈跟踪:

03-21 21:33:39.656: VERBOSE/inmobiandroidwebsdk(30457): requestactivity=AdRequest&d-deviceModel=Nexus+One&d-deviceMachineHW=Linux%28Android%3A2.6.35.7-59423-g08607d4%29&d-deviceSystemName=BASE&d-deviceSystemVersion=1.0&d-deviceName=google&d-deviceBTHW=Sat+Mar+19+08%3A15%3A44+GMT%2B02%3A00+2011&d-deviceStorageSize=InBuilt%3A196+MB%2CExt%3A3+GB&d-device-screen-density=1.5&d-device-screen-size=480X800&x-inmobi-phone-useragent=Mozilla%2F5.0+%28Linux%3B+U%3B+Android+2.3.3%3B+en-us%3B+Nexus+One+Build%2FGRI40%29+AppleWebKit%2F533.1+%28KHTML%2C+like+Gecko%29+Version%2F4.0+Mobile+Safari%2F533.1&mk-siteid=ff8080812eb70f85012ecd66bc330119&u-id=173adca6177f8d35&mk-version=pr-SPEC-ATATA-20091223&format=xhtml&mk-ads=1&h-user-agent=InMobi_androidsdk%3D2.0&u-InMobi_androidwebsdkVersion=2.0&u-appBId=com.tests.mytest&u-appDNM=Pattern+Maker&u-appVer=1.1&d-localization=en_us&d-netType=&mk-banner-size=9
03-21 21:33:39.656: WARN/inmobiandroidwebsdk(30457): requestactivity=AdRequest&d-deviceModel=Nexus+One&d-deviceMachineHW=Linux%28Android%3A2.6.35.7-59423-g08607d4%29&d-deviceSystemName=BASE&d-deviceSystemVersion=1.0&d-deviceName=google&d-deviceBTHW=Sat+Mar+19+08%3A15%3A44+GMT%2B02%3A00+2011&d-deviceStorageSize=InBuilt%3A196+MB%2CExt%3A3+GB&d-device-screen-density=1.5&d-device-screen-size=480X800&x-inmobi-phone-useragent=Mozilla%2F5.0+%28Linux%3B+U%3B+Android+2.3.3%3B+en-us%3B+Nexus+One+Build%2FGRI40%29+AppleWebKit%2F533.1+%28KHTML%2C+like+Gecko%29+Version%2F4.0+Mobile+Safari%2F533.1&mk-siteid=ff8080812eb70f85012ecd66bc330119&u-id=173adca6177f8d35&mk-version=pr-SPEC-ATATA-20091223&format=xhtml&mk-ads=1&h-user-agent=InMobi_androidsdk%3D2.0&u-InMobi_androidwebsdkVersion=2.0&u-appBId=com.tests.mytest&u-appDNM=Pattern+Maker&u-appVer=1.1&d-localization=en_us&d-netType=&mk-banner-size=9
03-21 21:33:41.576: ERROR/inmobiandroidwebsdk(30457): Exception retrieving ad
03-21 21:33:41.576: ERROR/inmobiandroidwebsdk(30457): com.inmobi.androidsdk.impl.net.ConnectionException: Error requesting new Ad 
03-21 21:33:41.576: ERROR/inmobiandroidwebsdk(30457):     at com.inmobi.androidsdk.impl.net.RequestResponseManager.retrieveAd(RequestResponseManager.java:197)
03-21 21:33:41.576: ERROR/inmobiandroidwebsdk(30457):     at com.inmobi.androidsdk.impl.net.RequestResponseManager.requestAd(RequestResponseManager.java:54)
03-21 21:33:41.576: ERROR/inmobiandroidwebsdk(30457):     at com.inmobi.androidsdk.impl.InMobiAdView.fetchAndDisplayAd(InMobiAdView.java:206)
03-21 21:33:41.576: ERROR/inmobiandroidwebsdk(30457):     at com.inmobi.androidsdk.impl.InMobiAdView.access$4(InMobiAdView.java:179)
03-21 21:33:41.576: ERROR/inmobiandroidwebsdk(30457):     at com.inmobi.androidsdk.impl.InMobiAdView$3.call(InMobiAdView.java:292)
03-21 21:33:41.576: ERROR/inmobiandroidwebsdk(30457):     at com.inmobi.androidsdk.impl.InMobiAdView$3.call(InMobiAdView.java:1)
03-21 21:33:41.576: ERROR/inmobiandroidwebsdk(30457):     at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:306)
03-21 21:33:41.576: ERROR/inmobiandroidwebsdk(30457):     at java.util.concurrent.FutureTask.run(FutureTask.java:138)
03-21 21:33:41.576: ERROR/inmobiandroidwebsdk(30457):     at android.os.Handler.handleCallback(Handler.java:587)
03-21 21:33:41.576: ERROR/inmobiandroidwebsdk(30457):     at android.os.Handler.dispatchMessage(Handler.java:92)
03-21 21:33:41.576: ERROR/inmobiandroidwebsdk(30457):     at android.os.Looper.loop(Looper.java:123)
03-21 21:33:41.576: ERROR/inmobiandroidwebsdk(30457):     at com.inmobi.androidsdk.impl.BackgroundWorker$1.run(BackgroundWorker.java:36)
03-21 21:33:41.576: ERROR/inmobiandroidwebsdk(30457):     at java.lang.Thread.run(Thread.java:1019)
03-21 21:33:41.576: ERROR/inmobiandroidwebsdk(30457): Caused by: java.io.FileNotFoundException: http://w.sandbox.mkhoj.com/showad.asm
03-21 21:33:41.576: ERROR/inmobiandroidwebsdk(30457):     at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:521)
03-21 21:33:41.576: ERROR/inmobiandroidwebsdk(30457):     at com.inmobi.androidsdk.impl.net.RequestResponseManager.retrieveAd(RequestResponseManager.java:157)
03-21 21:33:41.576: ERROR/inmobiandroidwebsdk(30457):     ... 12 more
4

3 回答 3

3

我来自 InMobi 运营团队。问题是最新的 Adwhirl 版本没有更新的 InMobi 适配器。您可以尝试以下版本的 Adwhirl 适配器和 InMobi SDK 吗?

更新 InMobi Android SDK:http ://dl.dropbox.com/u/16117/InMobi_Android_SDK_Rel_v2.3.zip 更新 Adwhirl 适配器:

http://dl.dropbox.com/u/30899852/InMobiAdapter.java - 这是 Adwhirl SDK 的源版本http://dl.dropbox.com/u/30899852/adWhirl/AdWhirlSDK_Android_3.0.0.jar - 这是适用于使用 Adwhirl SDK 编译版本的开发人员(具有其他广告网络的适配器,这些适配器默认随 Source SDK 提供)

于 2011-07-23T06:10:59.027 回答
0

作为 Adwhirl SDK 一部分的 InMobi 适配器与 InMobi SDK 2.0 版不兼容

请在此处为未解决的问题加注星标(看起来有些重复):

http://code.google.com/p/adwhirl/issues/detail?id=176
http://code.google.com/p/adwhirl/issues/detail?id=186
http://code.google。 com/p/adwhirl/issues/detail?id=187

于 2011-04-15T11:51:44.547 回答
0

只是为了确保,您是否请求了 Internet 权限?

于 2011-03-21T20:07:31.470 回答