16
May
android-studio

Yesterday Google launched an early access preview of Android Studio, an integrated development environment (IDE) for Android based on IntelliJ IDEA. This one-stop shop for coding, compiling, and testing includes all the standard Android SDK tools, plus build support, quick fixes, tools to catch major coding flaws, and a preview window. The Android Developer Tools session at Google I/O went into massive detail on the new project. The 53-minute session is embedded below, in case you couldn't make it.

One of the cooler features of Android Studio is the multitalented preview window, which shows your code running on mock-ups of most of the standard Nexus devices in a real-time layout. You can even see what your app looks like in multiple languages. There's also a full WYSIWIG layout editor that works across several screen sizes and resolutions, though this is still a work in progress.

Google wants to make sure that you know this is a preview build - it's marked v0.1 on the developer website. Android Studio is available for free on Windows, OS X, and Linux. Developer.Android.com also has some tips on getting started, and a handy guide for migrating to Android Studio from Eclipse. You can check out the source code for Android Studio here.

Android Developers Blog - Android Studio: An IDE built for Android

Jeremiah Rice
Jeremiah is a US-based blogger who bought a Nexus One the day it came out and never looked back. In his spare time he watches Star Trek, cooks eggs, and completely fails to write novels.
  • Wade Johnson

    If it just doesn't open you need to add a system variable JAVA_HOME pointing to a JDK:

    JAVA_HOME=C:Program FilesJavajdk1.7.0_21

    This fixed it for me.

    • Alex

      Same here

      • heat361

        @Michael Lee Do what Wade Johnson said and it will work.

    • Michael Lee

      Ah, you rock!

    • https://play.google.com/store/apps/developer?id=iWizard Bikram Agarwal

      I already have that. In my case, the installer itself is not running. After clicking it, I get the "Do you want to run this file" prompt. After clicking yes on that, nothing. And after sometime, the installer itself gets deleted...!! Very virus-y behavior. I had downloaded that from android developer site.

  • Landan

    check to see if you have an environment variable called JAVA_HOME that points to your jdk folder.

  • Trent Hill

    JDK 1.7 is an undocumented requirement.

    So you need to go to the oracle site and download the JDK (JRE alone is not good enough) http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html

    Then you need to manually setup an environment variable in windows:
    Right click on "Computer" -> Select Properties -> Advanced System Settings -> Environment Variables.
    In the "System variables" section, hit New and create:
    JDK_HOME = C:Program FilesJavajdk1.7.0_21

    Then you'll probably need to reboot.
    Crap eh?

    I haven't tried under linux yet.

  • Alex

    For those who need help, install it, then press start and type
    environment variables

    Press edit environment variables for your account

    Press new, write JAVA_HOME
    and the path, point it towards the jdk somewhere in your program files folder

    • Alex

      Path goes in the value line btw

    • Guest

      Ah, you rock.

    • BillWarren

      like Lee answered I'm dazzled that any one able to earn $4067 in four weeks on the network.

    • BillWarren

      ....---goo.gl/JFNFm (Home more information)

  • Sam Hollis

    It looks really good so far! I'm probably going to stick with Eclipse until it hits 1.0, though. It already blows Eclipse out of the water, by that time it'll be absolutely fantastic.

  • Fernando

    Fnck this tool, i need this shirt.

  • duse

    Since this is based on the Community Edition, does that mean no C++/NDK support? So you have to switch back to Eclipse for that. Kinda lame. Want to use this, but would rather use just one IDE.

  • Chris

    I would wear that jersey pretty much everywhere if I had one.

  • Chris Clark

    I'll definitely be moving over, just going to give it a bit of time to mature first.

    • http://profiles.google.com/jonny.ollifflee Jonny Olliff-Lee

      IntelliJ already has some good Android tools that rival ADT in Eclipse, so give it a go now! :)

  • Felix Klein

    Always thought Eclipse was a absolute mess and wasn't able to use it, however Android studio is a completely different story - love it so far :)

  • Mungo

    Not sure why everyone gets so excited about this multi-config editor suddenly, that has been in Eclipse for quite some time (was demoed at last years I/O)...it's even linked in the related posts here.
    Cool that we get another IDE to choose from I guess, but so far I didn't see anything that'd convince me to switch.

    • http://www.androidpolice.com/ Artem Russakovskii

      Eclipse is slow as balls and constantly hangs because operations can't run in parallel and get queued up one behind the other. IDEA should be a lot better in that regard.

  • http://www.facebook.com/vaughn.teegarden Vaughn Teegarden

    I already use IntelliJ IDEA for Android development, so I am not surprised they chose it as the base, it is a fantastic IDE. The primary struggle I have had in adopting it is that most tutorials and tools are written for Eclipse because of Eclipse's ubiquity. Hopefully the release of an IntelliJ-based Android IDE will change that.

    • Knowles2

      oepfully now there a standard IDE, Google will put it muscle behind creating tutorials for Android.

      Through I am surprise they didn't announce that they bought the entire company behind Intellij IDEA, surely it only a matter of time through.

  • Robert Blenkinsopp

    I always preferred IntellIJ IDEA for Android development anyway. There Android integration was really good anyway and this just brings it to the next level. From looking at the change log for the EAP (Early Access Preview) release of IntelliJ IDEA 13, It looks like all of this will be integrated into the main Android plugin which is great.

  • Rick

    Am I the only one who thinks its kind of weird to see Google developers at a Google event showing a new developing tool for Android on Apple laptops... I can understand that you might prefer a MacBook over a Windows computer but this is a Google event! At least, cover the freaking apple on the back...

    • blow

      And why does it matter? Did you even hear the speech larry page give ( btw: CEO of the company;) ) it is not about an (atomic) war, at least for google it is about innovation. If some devs or other employees think they re better of with windows mac linux, then why not? and pls dont troll this blog. i love AP for beeing objective, most of the times... :D

    • Alex

      Lol, that's the thing it's a Google event not an Microsoft event. Google is not competing with apple in computer space lol

    • Google_Is_The_Higgs_Boson

      Some times it has to do with developing for Multi platforms... If you want to develop for Apple products, you need their hardware to do so... But I'm not sure if that's 100% of the reason...

  • yuval barel

    after install (and update the JAVA HOME) get error "please select Android SDK"
    please help

Quantcast