Install SDKBOX
SDKBox Helper (Optional)
this command can help you to install SDKBox Installer
and SDKBox GUI For Creator
(of course, you can install SDKBox manually, without SDKBox Helper).
Download SDKBoxHelper Windows or SDKBoxHelper Mac
SDKBox Installer
you can choose one from the following ways:
- run command
sdkboxhelper
in terminal to installSDKBox Installer
- or run python2 script
python -c """import urllib; s = urllib.urlopen('https://raw.githubusercontent.com/sdkbox-doc/en/master/install/install.py').read(); exec(s)"""
to installSDKBox Installer
- or Manually, Download SDKBox Installer, and unzip to
~/.sdkbox/bin
(C:\Users\${UserName}\.sdkbox\bin
on Windows), add~/.sdkbox/bin
to environment PATH
Note:
open a new terminal and run command sdkbox -h
to check if SDKBox Installer
have installed. maybe need restart when you got command not find
error.
SDKBox GUI For Creator
you can choose one from the following ways:
- run command
sdkboxhelper -t creator -p path/to/creator_project
in terminal to installSDKBox GUI For Creator
- or Manually, Download
SDKBox GUI For Creator
package- Global Install: unzip
SDKBox GUI For Creator
package to path~/.CocosCreator/packages
(C:\Users\${UserName}\.CocosCreator\packages
on windows) - locally Install: unzip
SDKBox GUI For Creator
package to path${CocosCreator Project}/packages
- Global Install: unzip
Note:
-
Cocos Creator version below 2.4.1 need't install
SDKBox GUI For Creator
additional.SDKBox GUI For Creator
has been built in. -
if
SDKBox
item doesn't show inExpand
Menu, maybe you need restart Cocos Creator. -
packages file tree should be like follow:
packages
|--sdkbox
|--app
|--main.js
|--package.json