我即将开始开发一个android应用程序,需要得到一个IDE。Eclipse和android Eclipse插件似乎是自然的选择。然而,我熟悉intelliJ和re-sharper,所以我更喜欢使用intelliJ。

有人用过https://code.google.com/archive/p/idea-android/吗?这个好吗?

我应该咬紧牙关学习Eclipse吗?


当前回答

我认为intellij是android的最佳选择。我使用了eclipse和intellij,发现intellij与android相比更容易使用,因为这些原因:-

Intellij provides a built-in support for android and you don't have to configure it as you need to do with eclipse. Intellij gives you auto-lookup feature which is really important for developer like us to increase our productivity. And if we talk about eclipse you have to type each and every method, classname etc on your own. (May be eclipse has this feature too but i never found it and trust me i tried to find it like anything) Its much more user friendly and easy to use than eclipse. I hope it will help you and other members of stack overflow to decide which IDE is best for Android development.

我个人的选择是Intellij。

EDIT

但是有一点我很喜欢eclipse,那就是可视化的布局创建器。你可以使用拖放技术来创建布局,eclipse会自动生成一个XML文件,就像XCODE一样。

EDIT

好消息! !Intellij增加了一个新功能,它可以显示你的应用程序视图的样子。它的工作方式与Eclipse不完全一样,但它可以让您更好地了解布局。

我个人仍然选择Intellij,因为它帮助我打字比eclipse快。

EDIT

好吧,伙计们,这些天我正在使用日食朱诺,发现它有点bug和缓慢。因此,如果您仍然想使用eclipse,最好坚持使用一些较旧的版本。最后,我能够找到如何在eclipse中启用自动完成。下面是一个小教程。

Eclipse ->首选项-> Java ->编辑器->内容辅助->自动激活

现在把下列内容放入三个给定的方框中

Auto Activation delay(ms) - 0
Auto activation triggers for java - .(abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
Auto activation triggers for javadoc - @#

现在可以开始了。快乐的编码。

EDIT

现在谷歌已经采用了Intellij作为他们自己的Android开发工具,现在没有哪个更好的问题了。Intellij比eclipse好得多。然后我换回了Intellij,感觉就像回到了家!!: D

其他回答

我建议Android捆绑TextMate: https://github.com/nesterow/Android.tmbundle它是轻量级的,易于使用。没有智能感知,但实际上它只是让您更好地记住名称空间。:)

我非常支持使用您最熟悉的环境。然而,这并不总是最好的选择。在某些情况下,从长远来看,不同的环境可能会带来(远为如此?)更高的效率。

在这种特殊情况下,我认为坚持您已经知道的是一个很好的选择,但是初学者将受益于eclipse提供的简单设置和sdk/ndk集成。我也不知道其他IDE中可用的地理位置操作(或电话状态操作-如来电等)是如何实现的,但是eclipse中的集成感觉是无缝的。

AIDE is a fun option that I use while traveling or when I don't feel like sitting at my desk all the time. It is an extrodinarly well put together IDE that runs on Android, compiles Android appications, and then lets you install, all without touching a computer. It includes a logcat readout, syntax highlighting and some git compatibility as well. Obviously you don't have a lot of screen real estate available and things can get cluttered or you can't see everything you want to at once, but for quick touchups or early in a project it is more than adequate.

您还可以使用adobeair开发充满丰富UI的Android应用程序。如果你打算走这条路,那么Flex Builder Burrito是最好的IDE。看看这篇文章,建立一个AIR4Android应用程序是多么容易http://blog.air4android.com/?p=13

不幸的是,Android没有完美的IDE。Eclipse有更多的功能,因为它是谷歌开发的唯一IDE插件。然而,如果你像我一样,厌倦了崩溃和奇怪的调试/开发模式开关,请使用http://nbandroid.kenai.com的Netbeans插件。

如果您还没有安装Eclipse,我推荐摩托罗拉的MotoDev Studio。它完成了许多烦人的小任务,如设置Android环境和路径,并向Eclipse添加了许多不错的内置功能。

即使您已经安装了Eclipse,也可以将其作为插件添加(我自己没有尝试过)。它是由摩托罗拉开发的,所以它们也有一些摩托罗拉中心的功能,比如将你的应用添加到摩托罗拉市场的能力。不管怎样,如果你感兴趣,可以试试:http://developer.motorola.com/docstools/motodevstudio/