Remove All Ads from XDA
Honor 9 Lite

[IDE] Using IntelliJ IDEA for Android development

827 posts
Thanks Meter: 131
By ramdroid77, Senior Member on 12th April 2013, 08:54 AM
Post Reply Email Thread
When starting with Android development most people start so by using Eclipse, so did I. Unfortunately for me this was a quite frustrating experience no matter if I developed on Windows or Linux. I often had troubles launching projects after some changes and was forced to rebuild the whole workspace (which takes a while esp. if you included a couple library projects). So after a while I decided to switch to IDEA which is a lot more satisfying. I never had any issues with broken projects and everything just builds so much faster.

One big difference (and it seems many people have troubles with it) is IDEA's handling of library projects. Unfortunately I think this is done in a very logical way, as each "project" is handled as a model. Means you create a project ("My app"), add a module for your main app project, and add new modules for each library project you would add. For each modules you can set the dependencies and say on which modules it depends.

In the newest version (12) Jetbrains also added an Android UI designer, which was one of the features not available before.

If you are curious you can download and install IDEA from their website, or when you are using Ubuntu you can simply download it from Software center.

And here's a nice article given a quick introduction:
The Following 13 Users Say Thank You to ramdroid77 For This Useful Post: [ View ] Gift ramdroid77 Ad-Free
13th April 2013, 06:55 AM |#2  
Senior Member
Thanks Meter: 23
IDEA rocks, +1. It makes my little Arch box work like a real PC at times
30th April 2013, 11:13 AM |#3  
Junior Member
Thanks Meter: 3
i use idea too,just feel good

Sent from my Nexus 4
30th April 2013, 02:58 PM |#4  
Junior Member
Thanks Meter: 0
What about the on-the-fly analysis performed by IDEA during development? Does it detect many bugs?
Have you never used this functionality?
30th April 2013, 10:05 PM |#5  
Junior Member
Thanks Meter: 0
Nobody uses this feature of IDEA?
2nd May 2013, 10:34 PM |#6  
Archer's Avatar
Inactive Recognized Developer / Retired Senior Moderator / (Un)recognised Pole Dancer
Flag Northamptonshire
Thanks Meter: 4,174
I've only had a brief play with it so far - updated the Android SDK and loaded 1 project from GitHub, but it compiles like lightning compared to Eclipse. Thanks for letting us know about this - it's much appreciated
7th May 2013, 02:00 AM |#7  
NuShrike's Avatar
Senior Recognized Developer
Thanks Meter: 69
So how does it handle multi-module projects? The advantage of Eclipse/Qt Creator is you can keep multiple projects open at once plus the plugin integration with Maven and Git.

I briefly tried out IntelliJ a couple months back and immediately stepped away when it failed multi-module requirement for me.

More speed than molasses Eclipse would be nice, though the Windows version runs tolerably on fast i5 and SSD.

If it supports .webp on the UI designer (unlike Eclipse), then I'll be all over it!
7th May 2013, 03:59 AM |#8  
CrazyCoder's Avatar
Retired Recognized Developer
Flag St. Petersburg
Thanks Meter: 59
IntelliJ IDEA has no workspace concept like Eclipse, but its project can have multiple modules: .
The Following User Says Thank You to CrazyCoder For This Useful Post: [ View ] Gift CrazyCoder Ad-Free
7th May 2013, 05:26 AM |#9  
Senior Member
Thanks Meter: 1,154
Donate to Me
I'm a total noob/beginner when it comes to programming - never really been into it. That said, I've recently been giving it a go using Eclipse - creating my own Android app. I've just installed IDEA and find it far better to use then Eclipse. Really loving it actually.
7th May 2013, 08:55 AM |#10  
Senior Member
Thanks Meter: 1,177
I never got into Eclipse. The only Eclipse project I tried using was IBM's Lotus version of OpenOffice. The thing was huge, bloated with Eclipse libraries.

Netbeans is my preferred IDE (also good for C++ and others) but it, unfortunately, falls short for Android.

Intellij worked first try. Glad to see a forum for this on XDA!
7th May 2013, 09:46 AM |#11  
Senior Member
Thanks Meter: 13
Really happy this gets some attention, I've switched from Eclipse to IDEA a while ago and I can't go back.
IDEA is just so smart and works so nice!
I think the best part of IntelliJ is that when you are programming you do it in one environment, from IntelliJ I can see Jira stories, commit svn/git and everything else I do while programming, without switching to 5 different applications

I hope more and more people will switch to IntelliJ, thanks for this thread!
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes