sdkbox / sdkbox-sample-appodeal

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to run sdkbox appodeal samples

Steps:

mkdir samples
cd samples

# must clone this repo
git clone --depth 1 https://github.com/sdkbox/sdkbox-cocos2d-x-binary.git

# clone sample repo
git clone --depth 1 https://github.com/sdkbox/sdkbox-sample-appodeal.git

# run sample with specified language and platform
# eg: cpp and ios
## or
cd cpp && cocos run -p ios

./sdkbox-cocos2d-x-binary/run_sample.sh appodeal cpp ios
# javascript and android
## or
cd js && cocos run -p android

./sdkbox-cocos2d-x-binary/run_sample.sh appodeal js android

# run "download-depends.sh" in sample repo
./sdkbox-sample-appodeal/download-depends.sh

Memo:

  1. Sample repo and cocos2dx repo must be in same level directory
+-- sdkbox-cocos2d-x-binary
+-- sdkbox-sample-appodeal
| +-- cpp
| +-- lua
| \-- js

Cpp Android Studio

  1. cd cpp && cocos compile -p android
  2. open Android Studio and import cpp project
  3. run in Android Studio

About


Languages

Language:JavaScript 30.3%Language:C 22.4%Language:Java 21.9%Language:Lua 11.9%Language:C++ 11.6%Language:Objective-C++ 0.9%Language:HTML 0.4%Language:Objective-C 0.3%Language:Makefile 0.2%Language:Shell 0.0%Language:Python 0.0%Language:Batchfile 0.0%