SDK box installation on template project

Hi,
I am trying to install SDK box plugin to template project as i need those plugin in all my project.
But SDKBOX is throwing some errors.

Is it the right way to install the the sdk’s in template or should they be installed separately.

The error i ma getting is this which shows it’s not able to recognize project type.


|______ | \ |____/ |] | | _/
| |/ | _ |
] |____| _/ _
Copyright (c) 2015 Chukong Technologies Inc. v0.5.8.1
Traceback (most recent call last):
File “monolith.py”, line 6983, in
File “monolith.py”, line 6962, in main
File “monolith.py”, line 5510, in perform
File “monolith.py”, line 5518, in perform
File “monolith.py”, line 6048, in main
File “monolith.py”, line 5510, in perform
File “monolith.py”, line 5518, in perform
File “monolith.py”, line 6653, in cmd_import
File “monolith.py”, line 6010, in load_projects
File “monolith.py”, line 6003, in create_projects
File “monolith.py”, line 1645, in init
File “monolith.py”, line 1815, in determine_cocos2dx_project_type
KeyError: ‘project_type’``

Hi @padmnabh

They need to be installed separately for each project.

Are you trying to integrate SDKBOX into the template project of cocos2d-x?
In this case, I’ll recommend integrate them manually.

But is it ok of i install them on template project…??
It should not affect the future updates of cocos2d-x.

Hi @padmnabh

You can use SDKBOX with any cocos2d-x project.
SDKBOX works with all game engine versions of Cocos2d-x.

If you later want to update the Cocos2d-x version of your game, you could take the latest SDKBOX update and it should work fine.

Let us know if you have any issues.

By this do you mean that you will import sdkbox to the cpp-template-default present inside the template directory of Cocos2d-x !!

[HYPOTHETICAL SITUATION]
If so, then even if it will work all your new projects will have that particular SDKBOX plugin, in your game even if it is not required.

I would suggest you to individually use SDKBOX plugins with each of your project.

Best,
Pabitra

Yes by template project i mean cpp-template-default as I wanted all my project to include the same sdk’s but I think better option is to install in a single project and copy the same base project whenever required.

Yes, that’s the best way to do. :smile:

Best,
Pabitra

1 Like