Hi all, the github latest codes supports Android Studio. More information can refer to this issue.
You can just use Android Studio to open the
proj.android-studio folder(such as
cocos2d-x/cocos/tests/cpp-tests/proj.android-studio), then click the run button to build an run. You can also debug the c++ codes too.
- Can not use
cocos command to compile the Android Studio project, work in progress.
- Can not view cocos2d-x cpp files in Android Studio which means can not debug engine codes directly, but can step into it. It is the bug of Android Studio, and Google developers said it is fixed in Android Studio 2.3. I haven’t tried it.
You are appreciated to test and report any bug. Thanks.