E
E
Egor Merkushev2014-05-06 22:15:48
Android
Egor Merkushev, 2014-05-06 22:15:48

Cocos2d-x - how to add submodule for android?

There is such a wonderful (judging by the description) thing like Soomla . And there is my wonderful game on Cocos2d-x, in which I need to use this sooml. For iOS, everything turned out to be set up according to the instructions, but for Android, point 2 put me in a stupor. Googled, but did not understand what and where to prescribe. I use only Xcode, I don’t use Android Studio, I build for Android using make.
Item itself:

2.Add the following to your classpath:
extensions/cocos2dx-store/android/src
extensions/cocos2dx-store/submodules/android-store/SoomlaAndroidStore/src (the android-store submodule should be there because your cloned cocos2dx-store with the --recursive flag).
extensions/cocos2dx-store/submodules/android-store/SoomlaAndroidStore/submodules/android-store-google-play/src (the android-store-google-play submodule should be there because your cloned cocos2dx-store with the --recursive flag).
extensions/cocos2dx-store/submodules/android-store/SoomlaAndroidStore/libs/square-otto-1.3.2.jar

Clarification: now I use Ant to build Android, but if I really need to, I can use Android Studio, although I am not at all familiar with it.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question