Did get Ads in Android IceCreamSandwich Emulator

36 views
Skip to first unread message

sara

unread,
Apr 20, 2012, 9:35:17 AM4/20/12
to AdWhirl Users
I have Created AdWhirl Android Test Project. When i run the app in
Android Ice Cream Sandwich emulator i got this error:
Unable to parse response from JSON. This may or may not be fatal.
org.json.JSONException: Value <!DOCTYPE of type java.lang.String
cannot be converted to JSONObject
at org.json.JSON.typeMismatch(JSON.java:111)
at org.json.JSONObject.<init>(JSONObject.java:158)
at org.json.JSONObject.<init>(JSONObject.java:171)
at
com.adwhirl.AdWhirlManager.parseConfigurationString(AdWhirlManager.java:
290)
at com.adwhirl.AdWhirlManager.fetchConfig(AdWhirlManager.java:257)
at com.adwhirl.AdWhirlLayout$InitRunnable.run(AdWhirlLayout.java:376)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:
442)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:
305)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at java.util.concurrent.ScheduledThreadPoolExecutor
$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:150)
at java.util.concurrent.ScheduledThreadPoolExecutor
$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:264)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:
1076)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:569)
at java.lang.Thread.run(Thread.java:856)

But i got Ads in Motorola Zoom device. I do not what could be the
problem?
Please help me to get out of this problem..

wes

unread,
Apr 20, 2012, 3:24:07 PM4/20/12
to adwhir...@googlegroups.com
It sounds like you probably don't have the SDK key set up properly in your simulator project.  <!DOCTYPE should not be returned from our API endpoint.

-Wes
Reply all
Reply to author
Forward
0 new messages