Hello devlopers, I am adding chartboost using sdkbox in my cocos2dx code.
for ios its working fine but when after compiling it gives warning in log that
chartboost is not initialized and Please add WRITE.EXTERNAL.STORAGE in manifest.
and appId and appSignature is invalid.
@pabitrapadhy I am using the latest version and I checked my Manifest file too.
03-17 17:07:42.962: W/System.err(1869): java.lang.RuntimeException: Please add the permission : android.permission.WRITE_EXTERNAL_STORAGE in your android manifest.xml
03-17 17:07:42.962: W/System.err(1869): at com.chartboost.sdk.b.b(SourceFile:555)
03-17 17:07:42.962: W/System.err(1869): at com.chartboost.sdk.Chartboost.startWithAppId(SourceFile:142)
03-17 17:07:42.962: W/System.err(1869): at com.sdkbox.plugin.PluginChartboost$2.run(PluginChartboost.java:67)
03-17 17:07:42.962: W/System.err(1869): at android.os.Handler.handleCallback(Handler.java:739)
03-17 17:07:42.962: W/System.err(1869): at android.os.Handler.dispatchMessage(Handler.java:95)
03-17 17:07:42.962: W/System.err(1869): at android.os.Looper.loop(Looper.java:168)
03-17 17:07:42.962: W/System.err(1869): at android.app.ActivityThread.main(ActivityThread.java:5845)
03-17 17:07:42.962: W/System.err(1869): at java.lang.reflect.Method.invoke(Native Method)
03-17 17:07:42.962: W/System.err(1869): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:797)
03-17 17:07:42.962: W/System.err(1869): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:687)
03-17 17:07:42.972: W/System.err(1869): java.lang.Exception: Chartboost Initialization error. Activity or appId or appSignature is invalid
here is the log
I am also using sdkbox facebook,review plugin in the game.
Find this in your sdkbox_config.json and replace it with your own.
make sure the json file is correct and you haven’t accidentally missed or deleted a comma, it wont’ throw error.
I did all the stuffs now I can see the ads are coming in ios but not in android when I use chartboost listener It always go in onChartboostFailedToLoad method.
The plugin version in the sample as well as the latest version of SDKBOX after you update the plugins works charm.
It might be the either of the two case that -
your ads are not cached due to connectivity issues.
or you have some issues while setting up your project.
The sample link mentioned above seems to work fine.
So, please cross-check with our samples as well.
If still not works.
then let us know, we might want to take a look into your project.