Eclipse开发Android太麻烦?试试In…

来源:互联网 发布:php 分页类 编辑:程序博客网 时间:2024/05/02 01:50

   相信只要是做开发的肯定知道Eclipse的大名。其强大而全面的能力也成为Android开发中的默认IDE。但是功能全面带来的后果就是相对复杂,很多操作也不够直观。比如AndroidLogcat日志不会以文本形式而是以网格的形式显示,不仅不方便阅读而且不方便复制;Locat窗口总是在最行层,会挡住视线;不同目录下的同名文件无法同时打开;操作起来也很复杂,比如至少有5个不同的搜索命令,其中3个打开的是同一个搜索对话框等等。

 

图片来源:Google Phone Online

 

    开发者AlexPakhotin被上述问题搞的很头大,直到有一天他接触到了一个名叫IntelliJIDEA的工具,从此觉得找到知音了。不过任何事物都不是完美无缺的,在满足你某些欲求的时候,总会在其他地方出现欲求不满的情况。IntelliJIDEA在Android开发中初始化设置比较麻烦,每次都需要重新调教。具体调教过程如下:

Platform Settings section - SDKs:

- Add JSDK: select where Java SDK is located on your system;

- Add Android SDK: browse for the android-sdk-xxx folder, chooseit, then when prompted select the JDK first, then the Androidtarget platform;

Project Settings - Project:

- Check the Project SDK - it should have the selected Androidplatform.

Project Settings - Modules:

- Must have your project module.

Project Settings - Facets:

- Add an Android facet for your module.

建议大家在将上述方法添加到Evernote里面,便于以后查阅。

原创粉丝点击