Cocos2d-x Android Studio
Why Stack Overflow recommends it
Stack Overflow users link it as a walkthrough for importing and compiling Cocos2d-x projects in Android Studio, especially with the cocos compile --android-studio command.
Recommended by 1 people across 1 different months, 2016 to 2017.
What it is
A short 2015 screencast from Sonar Systems showing how to set up and build a Cocos2d-x game project for Android using Android Studio. It walks through importing the project and compiling it with the cocos command-line tool.
What people said
Recommends amisha.beladiya · 2016-05 · Stack Overflow · on “cocos2dx android studio edit configuration”
Drag and drop your project in command promte.Then run "cocos compile -p android --android-studio".For more information refer this [this video] video link
Cites phuongho · 2016-04 · Stack Overflow · on “Import cocos2d-x 3.10 project int to android studio”
I successfully imported a simple cocos2d-x 3.10 project(created by cocos studio) by viewing this video [this video] After a week of developing my app with a lot of codes (on xCode everything run ok). Then when I recompiled my app again using this command first: cocos compile -p android --android-studio A lot of errors appeared. I really don't know what is the real reason. Is it coming from my code (all the code was running ok on Xcode) or have I misconfigured something? Has anyone had the same problem as me? I had simple down my app and here is the error when compile: [LINK]
Cites Toan Tran · 2017-02 · Stack Overflow · on “Error Compiling cocos2d-x 3.14.1 for Android Studio : Android NDK: jni/Android.mk: Cannot find module with tag ‘cocos’ in import path”
I'm trying to run cpp-test example project, which is packed in the cocos2d-x 3.14.1 download, on Android Studio. I'm following this tutorial : [LINK] , which requires complete this first: [LINK] . However, I got error when run python android-build.py -p 22 cpp-tests : I got this log from cmd : Android NDK: WARNING: APP_PLATFORM android-22 is larger than android:minSdkVersi on 9 in ./AndroidManifest.xml Android NDK: WARNING: Ignoring unknown import directory: D:\cocos2d-x-3.14.1 Android NDK: jni/Android.mk: Cannot find module with tag 'cocos' in import path Android NDK: Are you sure your NDK_MODULE_PATH variable is properly defined ? Android NDK: The following directories were searched: Andro