如何使用Android工作室的Cocos2D-X [英] How to use Android Studio with Cocos2d-x

查看:183
本文介绍了如何使用Android工作室的Cocos2D-X的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我现在作为一个机器人的程序员一年不到的工作,我刚开始学习关于An​​droid游戏开发。我选择一起工作的框架的Cocos2D-X。

I work as an android programmer for just under a year now, and I just started to learn about android game development. The framework I choose to work with is Cocos2d-x.

我已经看到了关于如何使用的Cocos2D-X使用Eclipse指南和教程,但我真的很想知道,如果有可能与Android的工作室使用。

I have seen guides and tutorials on how to use Cocos2d-x with eclipse, but I'd really like to know if it's possible to be used with Android Studio.

这是我读过,现在可以用在摇篮Android的工作室,这是个好消息构建NDK项目。不过,我还没有找到采用Android Studio的C ++编程的任何信息。 Eclipse使用的CDC( https://www.eclipse.org/cdt/ )插件来实现这一点。

From what I've read, it is now possible to build NDK projects with gradle in Android Studio, which is good news. Nevertheless, I have yet to find any information about C++ programming using Android Studio. Eclipse uses the CDC ( https://www.eclipse.org/cdt/ ) plugin to achieve this.

这有什么可与Android工作室使用的相似?我已经发现了一些C / C ++的的IntelliJ平台,使插件,但他们不再更新。

Is there anything similar to be used with Android Studio? I have found some C/C++ enabling plugins for the IntelliJ Platform, but they were no longer updated.

有任何人尝试过呢?难道它的工作?你能提供一个一步一步的指导,对于新手和我一样,谁是处理这类问题的第一次?

Has anyone else tried this before? Did it work? Can you provide a step-by-step guide, for a newbie like me, who's dealing with this kind of problems for the first time?

感谢您为您的时间,

haxm

推荐答案

Android的工作室目前没有很好地建立了本地编程。虽然构建系统支持NDK,有C ++文件没有编辑器支持(这不是因为如果它不会工作,但IDE不会给你任何编辑援助),也不是有没有调试支持。 JetBrains公司已经宣布,他们正在开发新的C ++的IntelliJ的支持,这是我们正在寻找Android的工作室,但它不是在路线图呢。

Android Studio currently isn't well set-up for native programming. While the build system supports the NDK, there's no editor support for C++ files (it's not as if it won't work, but the IDE won't give you any editing assistance), and neither is there any debugging support. JetBrains has announced that they're working on new C++ support for IntelliJ, and this is something we're looking at for Android Studio, but it's not on the roadmap yet.

这篇关于如何使用Android工作室的Cocos2D-X的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆