SDKBOX Admob Android not working in cocos2d js version

Dear Devs & SDKBOX Team,

I do have a game in cocos2djs (plain engine version! no creator version). I was trying to update the admob. So I made a clean copy of my game without sdkbox integration and tried to integrate SDKBOX Admob from the start.
I have followed all the steps checked all the things. I tried repeatedly making the new clean project folder 3 times. But still didn’t work. Below are the error details. Guys please help!!! @yinjimmy @nite @pabitrapadhy

03-29 13:19:24.639 13340-13366/com.my.game E/SDKBOX_CORE: Checking plugin status for unknown plugin: AdMob
03-29 13:19:24.652 13340-13366/com.my.game I/SDKBOX: DEFAULTvirtual bool sdkbox::AdMobWrapperEnabled::init():62= ERR: Failed to load config for AdMob
03-29 13:19:24.657 13340-13395/com.my.game I/System.out: (HTTPLog)-Static: isSBSettingEnabled false
03-29 13:19:24.661 13340-13366/com.my.game E/AdMob: AdMob: proxy is null
03-29 13:19:24.662 13340-13395/com.my.game W/System.err: java.net.UnknownHostException: Unable to resolve host “update.sdkbox.com”: No address associated with hostname
03-29 13:19:24.663 13340-13395/com.my.game W/System.err: at java.net.Inet6AddressImpl.lookupHostByName(Inet6AddressImpl.java:125)
at java.net.Inet6AddressImpl.lookupAllHostAddr(Inet6AddressImpl.java:74)
at java.net.InetAddress.getAllByName(InetAddress.java:752)
at com.android.okhttp.internal.Network$1.resolveInetAddresses(Network.java:29)
at com.android.okhttp.internal.http.RouteSelector.resetNextInetSocketAddress(RouteSelector.java:209)
at com.android.okhttp.internal.http.RouteSelector.nextProxy(RouteSelector.java:163)
at com.android.okhttp.internal.http.RouteSelector.next(RouteSelector.java:105)
03-29 13:19:24.664 13340-13395/com.my.game W/System.err: at com.android.okhttp.internal.http.HttpEngine.createNextConnection(HttpEngine.java:489)
at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:465)
at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:371)
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:503)
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:130)
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getOutputStream(HttpURLConnectionImpl.java:261)
at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getOutputStream(DelegatingHttpsURLConnection.java:218)
at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java)
03-29 13:19:24.665 13340-13395/com.my.game W/System.err: at com.sdkbox.services.XMLHttpRequest.open(XMLHttpRequest.java:170)
at com.sdkbox.services.XMLHttpRequest.open(XMLHttpRequest.java:101)
** at com.sdkbox.services.XMLHttpRequest.open(XMLHttpRequest.java:96)**
** at com.sdkbox.services.XMLHttpRequest$1.run(XMLHttpRequest.java:514)**
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:762)
03-29 13:19:24.666 13340-13395/com.my.game W/System.err: Caused by: android.system.GaiException: android_getaddrinfo failed: EAI_NODATA (No address associated with hostname)
at libcore.io.Posix.android_getaddrinfo(Native Method)
at libcore.io.ForwardingOs.android_getaddrinfo(ForwardingOs.java:55)
at java.net.Inet6AddressImpl.lookupHostByName(Inet6AddressImpl.java:106)
… 21 more
03-29 13:19:27.960 13340-13413/com.my.game I/System.out: (HTTPLog)-Static: isSBSettingEnabled false

plz check your sdkbox_config.json file with https://jsoneditoronline.org/
seems it’s not a valid json file.

Oops! yes there has been a mistake in json and now it’s solved. Thanks a lot :slight_smile: .