Forums » C++ Framework » how to port ios game to android »
| jay dubal | how to port ios game to android | ||
|---|---|---|---|
|
i have developed an ios game on marmalade and now i want to port it to android using marmalade. can anyone tell me how to do that. also please tell me how build for the various android devices, i.e. do i need to make a seperate build for all the devices or a universal build can be made. thanks in advance. |
||
| Carlos Piñan | RE: how to port ios game to android | ||
|
Added by Carlos Piñan 8 months ago
Well If you have your game in IOS normally I create an Android project with the sh or bat (dependinf of your OS) After copy the classes folder and resources folder in the project. You can read this http://www.cocos2d-x.org/projects/cocos2d-x/wiki/Chapter_1_-_How_to_Create_a_New_cocos2d-x_project_on_multi-platforms Or this: http://www.raywenderlich.com/11283/cocos2d-x-for-ios-and-android-getting-started Those are very good guides. If you are using Box2D or other please advise me so I can help you to configure your android project. |
||
| jay dubal | RE: how to port ios game to android | ||
|
jay dubal wrote:
i have already developed the code using cocos2d-x and i am using marmalade. cane any body tell me how to do that. and yes my code also has box2d used along with cocos2d-x. thanks a lot. |
||
| Dhivakar Subramaniam | RE: how to port ios game to android | ||
|
Added by Dhivakar Subramaniam 7 months ago
hi i have a cocos2d-x 2.0.3 project with box2d. i tried to build it for android and got this error In file included from /Users/Rramappa/Desktop/ChocoManiacsWithAndroid/Choco_Mania/Choco_Maniacs/android/samples/ChocoManiacs/proj.android/../../../cocos2dx/platform/android/jni/JniHelper.h:27:0, can u help me solve this error |
(1-3/3)