I created a simple application that shows add using ad whirl .it does not show any ad i added logcat file
thanks in advance
11-18 15:08:55.940: ERROR/AdWhirl SDK(619): Caught IOException in fetchConfig()
11-18 15:08:55.940: ERROR/AdWhirl SDK(619): java.net.UnknownHostException: mob.adwhirl.com
11-18 15:08:55.940: ERROR/AdWhirl SDK(619): at java.net.InetAddress.lookupHostByName(InetAddress.java:513)
11-18 15:08:55.940: ERROR/AdWhirl SDK(619): at java.net.InetAddress.getAllByNameImpl(InetAddress.java:278)
11-18 15:08:55.940: ERROR/AdWhirl SDK(619): at java.net.InetAddress.getAllByName(InetAddress.java:242)
11-18 15:08:55.940: ERROR/AdWhirl SDK(619): at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:136)
11-18 15:08:55.940: ERROR/AdWhirl SDK(619): at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164)
11-18 15:08:55.940: ERROR/AdWhirl SDK(619): at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119)
11-18 15:08:55.940: ERROR/AdWhirl SDK(619): at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:348)
11-18 15:08:55.940: ERROR/AdWhirl SDK(619): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
11-18 15:08:55.940: ERROR/AdWhirl SDK(619): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487)
11-18 15:08:55.940: ERROR/AdWhirl SDK(619): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:465)
11-18 15:08:55.940: ERROR/AdWhirl SDK(619): at com.adwhirl.AdWhirlManager.fetchConfig(AdWhirlManager.java:221)
11-18 15:08:55.940: ERROR/AdWhirl SDK(619): at com.adwhirl.AdWhirlLayout$InitRunnable.run(AdWhirlLayout.java:293)
11-18 15:08:55.940: ERROR/AdWhirl SDK(619): at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
11-18 15:08:55.940: ERROR/AdWhirl SDK(619): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
11-18 15:08:55.940: ERROR/AdWhirl SDK(619): at java.util.concurrent.FutureTask.run(FutureTask.java:137)
11-18 15:08:55.940: ERROR/AdWhirl SDK(619): at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:114)
11-18 15:08:55.940: ERROR/AdWhirl SDK(619): at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:229)
11-18 15:08:55.940: ERROR/AdWhirl SDK(619): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1068)
11-18 15:08:55.940: ERROR/AdWhirl SDK(619): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:561)
11-18 15:08:55.940: ERROR/AdWhirl SDK(619): at java.lang.Thread.run(Thread.java:1096)
11-18 15:08:55.970: ERROR/AdWhirl SDK(619): Unable to parse response from JSON. This may or may not be fatal.
11-18 15:08:55.970: ERROR/AdWhirl SDK(619): java.lang.NullPointerException
11-18 15:08:55.970: ERROR/AdWhirl SDK(619): at org.json.JSONTokener.nextCleanInternal(JSONTokener.java:112)
11-18 15:08:55.970: ERROR/AdWhirl SDK(619): at org.json.JSONTokener.nextValue(JSONTokener.java:90)
11-18 15:08:55.970: ERROR/AdWhirl SDK(619): at org.json.JSONObject.<init>(JSONObject.java:154)
11-18 15:08:55.970: ERROR/AdWhirl SDK(619): at org.json.JSONObject.<init>(JSONObject.java:171)
11-18 15:08:55.970: ERROR/AdWhirl SDK(619): at com.adwhirl.AdWhirlManager.parseConfigurationString(AdWhirlManager.java:279)
11-18 15:08:55.970: ERROR/AdWhirl SDK(619): at com.adwhirl.AdWhirlManager.fetchConfig(AdWhirlManager.java:246)
11-18 15:08:55.970: ERROR/AdWhirl SDK(619): at com.adwhirl.AdWhirlLayout$InitRunnable.run(AdWhirlLayout.java:293)
11-18 15:08:55.970: ERROR/AdWhirl SDK(619): at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
11-18 15:08:55.970: ERROR/AdWhirl SDK(619): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
11-18 15:08:55.970: ERROR/AdWhirl SDK(619): at java.util.concurrent.FutureTask.run(FutureTask.java:137)
11-18 15:08:55.970: ERROR/AdWhirl SDK(619): at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:114)
11-18 15:08:55.970: ERROR/AdWhirl SDK(619): at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:229)
11-18 15:08:55.970: ERROR/AdWhirl SDK(619): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1068)
11-18 15:08:55.970: ERROR/AdWhirl SDK(619): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:561)
11-18 15:08:55.970: ERROR/AdWhirl SDK(619): at java.lang.Thread.run(Thread.java:1096)
11-18 15:09:26.019: ERROR/AdWhirl SDK(619): Caught IOException in fetchConfig()
11-18 15:09:26.019: ERROR/AdWhirl SDK(619): java.net.UnknownHostException: mob.adwhirl.com
11-18 15:09:26.019: ERROR/AdWhirl SDK(619): at java.net.InetAddress.lookupHostByName(InetAddress.java:513)
11-18 15:09:26.019: ERROR/AdWhirl SDK(619): at java.net.InetAddress.getAllByNameImpl(InetAddress.java:278)
11-18 15:09:26.019: ERROR/AdWhirl SDK(619): at java.net.InetAddress.getAllByName(InetAddress.java:242)
11-18 15:09:26.019: ERROR/AdWhirl SDK(619): at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:136)
11-18 15:09:26.019: ERROR/AdWhirl SDK(619): at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164)
11-18 15:09:26.019: ERROR/AdWhirl SDK(619): at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119)
11-18 15:09:26.019: ERROR/AdWhirl SDK(619): at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:348)
11-18 15:09:26.019: ERROR/AdWhirl SDK(619): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
11-18 15:09:26.019: ERROR/AdWhirl SDK(619): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487)
11-18 15:09:26.019: ERROR/AdWhirl SDK(619): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:465)
11-18 15:09:26.019: ERROR/AdWhirl SDK(619): at com.adwhirl.AdWhirlManager.fetchConfig(AdWhirlManager.java:221)
11-18 15:09:26.019: ERROR/AdWhirl SDK(619): at com.adwhirl.AdWhirlLayout$InitRunnable.run(AdWhirlLayout.java:293)
11-18 15:09:26.019: ERROR/AdWhirl SDK(619): at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
11-18 15:09:26.019: ERROR/AdWhirl SDK(619): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
11-18 15:09:26.019: ERROR/AdWhirl SDK(619): at java.util.concurrent.FutureTask.run(FutureTask.java:137)
11-18 15:09:26.019: ERROR/AdWhirl SDK(619): at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:114)
11-18 15:09:26.019: ERROR/AdWhirl SDK(619): at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:229)
11-18 15:09:26.019: ERROR/AdWhirl SDK(619): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1068)
11-18 15:09:26.019: ERROR/AdWhirl SDK(619): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:561)
11-18 15:09:26.019: ERROR/AdWhirl SDK(619): at java.lang.Thread.run(Thread.java:1096)
11-18 15:09:26.029: ERROR/AdWhirl SDK(619): Unable to parse response from JSON. This may or may not be fatal.
11-18 15:09:26.029: ERROR/AdWhirl SDK(619): java.lang.NullPointerException
11-18 15:09:26.029: ERROR/AdWhirl SDK(619): at org.json.JSONTokener.nextCleanInternal(JSONTokener.java:112)
11-18 15:09:26.029: ERROR/AdWhirl SDK(619): at org.json.JSONTokener.nextValue(JSONTokener.java:90)
11-18 15:09:26.029: ERROR/AdWhirl SDK(619): at org.json.JSONObject.<init>(JSONObject.java:154)
11-18 15:09:26.029: ERROR/AdWhirl SDK(619): at org.json.JSONObject.<init>(JSONObject.java:171)
11-18 15:09:26.029: ERROR/AdWhirl SDK(619): at com.adwhirl.AdWhirlManager.parseConfigurationString(AdWhirlManager.java:279)
11-18 15:09:26.029: ERROR/AdWhirl SDK(619): at com.adwhirl.AdWhirlManager.fetchConfig(AdWhirlManager.java:246)
11-18 15:09:26.029: ERROR/AdWhirl SDK(619): at com.adwhirl.AdWhirlLayout$InitRunnable.run(AdWhirlLayout.java:293)
11-18 15:09:26.029: ERROR/AdWhirl SDK(619): at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
11-18 15:09:26.029: ERROR/AdWhirl SDK(619): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
11-18 15:09:26.029: ERROR/AdWhirl SDK(619): at java.util.concurrent.FutureTask.run(FutureTask.java:137)
11-18 15:09:26.029: ERROR/AdWhirl SDK(619): at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:114)
11-18 15:09:26.029: ERROR/AdWhirl SDK(619): at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:229)
11-18 15:09:26.029: ERROR/AdWhirl SDK(619): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1068)
11-18 15:09:26.029: ERROR/AdWhirl SDK(619): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:561)
11-18 15:09:26.029: ERROR/AdWhirl SDK(619): at java.lang.Thread.run(Thread.java:1096)
Please have a close look at the code. For AdWhirl integration with AdMob in Android Platform.
in AndroidManifest.xml
In Layout put a LinearLayout where you want to show the AdWhirl ads.
Now in Java File:
Thanks.
I hope this can help you.
That means that the url doesn't exist or that it returns 404. Try to open it with a browser and you see the 404 error page.