views:

2558

answers:

3

Hi,

Does anyone know any good tutorial about setting up environment and importing libraries for Android development with IntelliJ IDEA?

I downloaded some Android plugins but still the IDE marks all Android objects (Activity, SurfaceHolder...) red.

Thanks!

+1  A: 

There was a project for ADT integration with IntelliJ IDEA 7, but at one point of time, it officially went under the wing of JetBrains and I lost track of it.

Here is a tutorial for the old project.

It's pretty straight-forward and I assume the newer versions of the official JetBrains plug-in, which are more or less based on it, shouldn't be more cumbersome to setup. Look at your build path, check if the IDE has added correctly android.jar? What's the platform you are using (Windows, Mac OS X, Linux)?

Dimitar Dimitrov
+5  A: 

Developing Android Applications in Maia (IntelliJ IDEA 9) http://blogs.jetbrains.com/idea/2009/08/developing-android-applications-in-maia/

It's a shame it's not available in the community edition. I'm only tinkering with my phone in my spare time so can't really justify the full Idea license.
Drew Noakes
+2  A: 

Check out my blog entry about setting up an Android project using IntelliJ 8:

http://blog.jteam.nl/2009/09/08/exploring-the-world-of-android-part-1/

Tom van Zummeren