Thank you.
I have not done it manually. Let me know where do I find(path) sdkbox.jar file in my project. So that I can check.
Let me know how to fix this issue.
My integration stapes :-
1 - I have integrateed sdkbox admob in my project in command prompt.
(admobtest>sdkbox import admob)
2 - Modify ./frameworks/runtime-src/Classes/AppDelegate.cpp to included the following headers: #include “PluginAdMobJS.hpp” #include “PluginAdMobJSHelper.h”
3 - Modify the sdkbox_config.json
change the android banner and interstitial id.
4 - I have followd the link (https://github.com/sdkbox/sdkbox-sample-admob)for demo
and I copy content of app.js file from (https://github.com/sdkbox/sdkbox-sample-admob/blob/master/js/src/app.js) to my project’s app.js files .
There was no jar files on above mention path. So I manually copy from .sdkbox\plugins\sdkbox-admob_v2.2.1.6\plugin\android\libs to frameworks\runtime-src\proj.android\libs on my project.
By following (this thread) I updated build.gradle as well. How ever problem is still same(java: package com.sdkbox.plugin does not exist).
I import admob by using this command only and it successfully import to my project.
basically your cocos2d-x library can’t find sdkbox.jar, it’s not a very hard problem, just need to find out where is the lib path (cocos2d-x has been changing the lib path in certain release), if you can send a sample project with the same problem to me, I can fix it for you.
My total project is 1.25GB. So it is not possible to attach total project `.So please mention the folder name which are required.
You can download total project from https://we.tl/EhekeXypNf .
I checked out your project, it looks like cocos2d-x version you’re using doesn’t fully supports android studio yet.
When I try building it with cocos compile -p android everything works correctly.
I recommend you update to the latest cocos2d-x which has proj.android-studio project files, which will give you better android studio support.
I am not using android studio or eclipse. I am using cocos-code-ide-2.0.0-beta (Intellij IDEA 14.1.1).
Is it possible to integrate latest sdkbox on cocos2d-js v3.6.1 projects ?
If not do you recommend to upgrading my cocos2d-js version ?