posted Mar 6, 2014, 3:02 PM by Tor Norbye
updated Mar 6, 2014, 5:54 PM
We've just released Android Studio 0.5.0, with the following improvements:
- Support for the Android Gradle plugin 0.9. (Note that it also requires 0.9 or higher, and there are a couple of incompatible changes: See this page for how to update your project if you are affected: tools.android.com/tech-docs/new-build-system/migrating_to_09)
- New bundled version of IntelliJ 13.1 EAP build.
This means we're switching from the stable 13.0.x releases to 13.1 to pick up some platform support we need, but we also pick up some great new features:
- Gradle Support
- Offline mode for sync and build
- Support for source folders outside the module content root
- Support for build variants in library projects
- Architectural improvements allow many cross-file checks to be run incrementally in the IDE such that they show up in the editor while editing, rather than requiring a full Analysis run to be performed. For example, while you are editing an Activity class, it will incrementally ensure that your findViewById calls perform a valid cast based on how those id's are used in the layout resource files:
Similarly, it will check your String.format calls to ensure that the types of the parameters match the formatting conversion specifiers found in the value resource files. Other newly incremental checks include the array size check, the unknown id check, the missing orientation check, the locale check and the text field input type check.
lint.xml configuration file can now filter out errors in files not just by exact relative paths but also by regular expressions such as
<ignore regexp="res/.*layout.*/activation.xml" />
and by glob expressions:
<ignore path="res/**/activation.xml" />
- flag Gradle packageSuffix usage where the suffix does not start with a dot
- Editor support for Android transition resource files: validation, code completion, documentation
- A large number of bug fixes!
If you are on Mac OSX, and
you have modified your Android Studio's Info.plist file to use Java 7 instead of Java 6, the IDE may not start. See the Known Issues
document for workarounds.
If you are already running Android Studio, just restart it, or manually check for updates via Help > Check for Update... (on OSX, look in the Android Studio menu). This will download and install a small patch rather than download a full IDE image.
If you run into problems, be sure to check the Known Issues page which we'll update as necessary.