@Kotaiba I am sure we can send you manual steps to do the installation. In the mean time, since you are having an issue, and we would like to solve this issue, would you mind helping us with a few tests so that we can solve this issue for others that may run into the same thing
run sdkbox symbols from the cocos project directory that you are trying to install to. This will print out a bunch of keys and values. Can you reply to this post with that output?
run sdkbox --help and paste all output including the sdkbox header with version number.
With this information we should be able to diagnose the problem and get you back into a working state. If not, I will find instructions on how to install this manually.
sdkbox --help
_______ ______ _ _ ______ _____ _ _
|______ | \ |____/ |_____] | | \___/
______| |_____/ | \_ |_____] |_____| _/ \_
Copyright (c) 2015 Chukong Technologies Inc. v0.5.6.9
usage: sdkbox [-h] [-v] [-p [PROJECT]] [-s] [-b [PLUGIN]] [-D SYMBOL]
[-o OUTPUT] [--encrypt ENCRYPT] [--decrypt DECRYPT] [--key KEY]
[--dryrun] [--nohelp] [--forcedownload]
{list,import,restore,symbols,api,update,encrypt,decrypt}
Import SDKBOX plugins into Cocos2d-x projects
positional arguments:
{list,import,restore,symbols,api,update,encrypt,decrypt}
issue sdkbox installer command
optional arguments:
-h, --help show this help message and exit
-v, --verbose specify verbosity level
-p [PROJECT], --project [PROJECT]
path to project root (defaults to .)
-s, --status checks the server for update status
-b [PLUGIN], --plugin [PLUGIN]
specify path to plugin (defaults to .)
-D SYMBOL, --symbol SYMBOL
define a symbol for the package script
-o OUTPUT, --output OUTPUT
specify output file
--encrypt ENCRYPT encrypt file
--decrypt DECRYPT decrypt file
--key KEY specify xxtea key (Key must be a 16-byte string.)
--dryrun display steps but do not perform any actions.
--nohelp don't open online documentation after installation.
--forcedownload force download of package even if it is already downloaded.
Examples:
# Add 'In App Purchase' plugin to your game
$ sdkbox import -b iap -p /path/to/your/cocos2dx/game/
# The -b option may be omitted and -p too if you are in your project directory
$ sdkbox import iap
# List all available modules
$ sdkbox list
I just finished integrating all the the SDKs except Google analytics need to know what to add to AndroidManifest.xml
I use level helper to create my project . cocos2d-x 3.4 http://gamedevhelper.com/
if you create project via it i think you will face same problem .
i dont have cocos-project.json on my files .
can you point for me where it should be ?
I have an old project built with cocos2d-x 3.1 and updated many times up to the 3.6 version. So, there is no .cocos-project.json file inside the main project directory.
Using the sdkbox installer tools from the root dir of the project used to give me the common failed to find cocos2d-x installation directory error.
I’ve previously run the ./setup.py from the root project dir, but with no success.
Then I’ve solved the issue doing this:
Removed all the cocos2d-x-related settings from my .bashrc or .zshrc file in my user’s home directory
Downloaded cocos2d-x 3.6 source code and extracted it in a place where I will keep it for the rest of my life
Run ./setup.py from the cocos2d-x 3.6 source code directory
Restarted the terminal
Run sdkbox symbols from the root dir of the project and now it works!
Now save the file and paste it into your project root folder.
NOTE:
if you are on mac then this file will be invisible by default, if you haven’t turned on the visibility of all files.
Change this to your current cocos verison
Unzip the file and copy it’s content to your usr/local/bin
so that sdkbox would be available to your terminal.
Windows Users -
If you want to keep it updated all time with latest release, unzip at any location and set the directory path as environment variable, so that sdkbox would be available to your cmd.
Project Specific
If you just want it for the project only.
you can unzip the contents of the auto-installer into your project root folder.
Hello ,
I am using Ubantu 14 , eclipse adt .and want to integrate sdkbox inapp in my android game.
i put sdkbox-installer in to my project root “YourGameTitle”
I read the rest of the post, no sign of that “Manual Installation” could you please explain how its done in android studio? Ive downloaded the sdk from here down the page: http://www.sdkbox.com/plugins/googleplayservices