Cocos2d-x with Vungle Android SDK

  1. Create Cocos2d-x Project(http://www.gamefromscratch.com/post/2014/09/29/Cocos2D-x-Tutorial-Series-Installation-Creating-a-Project-and-Hello-World.aspx)

2.Use Cocos command line tool to run the project to phone or just compile
cd to the project folder and use command:
cocos run -p android --android-studio

3.Use JniHelper to
3.1.Call Java from C++
3.2.Call C++ from Java

4.Integrate Vungle Android SDK

github:
https://github.com/vincentyao2016/Cocos2dx-VungleSDK
引用:
Create Cocos2d-x Project
http://www.gamefromscratch.com/post/2014/09/29/Cocos2D-x-Tutorial-Series-Installation-Creating-a-Project-and-Hello-World.aspx
Call Cocos C++ function from java
http://stnguyen.com/cocos2d-x/call-cpp-functions-from-java.html
Call java function from Cocos C++
http://www.cocos2d-x.org/wiki/User_Tutorial-Call_Java_functions_in_Cocos2d-x
Cocos command-line tool
http://cocos2d-x.org/docs/editors_and_tools/cocosCLTool/

你可能感兴趣的:(Cocos2d-x with Vungle Android SDK)