Recent Changes

The following features and bug fixes were recently checked in. For complete details, see the git changelogs at

Android Studio 1.1 Preview 2 Released

posted Jan 22, 2015, 1:03 PM by Tor Norbye   [ updated Jan 22, 2015, 1:05 PM ]

We've just released Android Studio 1.1 Preview 2 to the canary and dev channels. As mentioned last week for preview 1, the focus for version 1.1 is bug fixes; we are working in parallel on version 1.2 where we are migrating to the IntelliJ 14 codebase, among other feature work.

In this build, there are several new lint checks:
  • Check for suspicious language/region combinations (where you are defining a translation for a language and specific locale, where the combination of language and region is unusual and it's possible that you've used the wrong code.)
  • Checks that the tag passed to a Log.severity(tag, ...) call and its surrounding Log.isLoggable(tag) calls refer to the same tag. Similarly, it also checks that the logging level passed in to isLoggable matches the type of logging call, e.g. if if you check isLoggable(..., Log.DEBUG) you should log with Log.d, not Log.v or Log.i. 
  • Checks that the tag passed to the logging calls, if its value can be resolved, is at most 23 characters long (as required by the Logging API.)
  • Checks that calls to info, verbose and debug logging calls are surrounded by a conditional (e.g. isLoggable or BuildInfo.DEBUG) but only if that logging call "performs work" (e.g. concatenates non constant strings or performs methods calls etc). This check is off by default.
  • Check for using drawables instead of mipmaps for the launcher icon, where the application is also filtering the set of densities packaged into the APK. There is also a quickfix in the IDE for migrating an icon from a @drawable to a @mipmap.
In addition, the default launcher icons have been updated to a Material Design look, and it now also includes an xxxhdpi density icon.

Bug fixes:
56986: Incorrect flag for portuguese
59042: strings.xml reformated every time I create new Activity
77158: Sync removes modules that do not have a Gradle counterpart.
81457: Fixes low resolution icon in Linux.
82387: Add intention to correct XML namespace for support lib
82564: Making AVD Manager separate (non-modal) window.
92005: Allow cancelling task that retrieves device screenshots
93284: Including comments when merging xml
94499: Fixing the device preview in the search and create cases
97006: Gradle lint does not recognize Context.getDrawable() as API 21+
98297: Fix run dialog modality to allow avd manager interaction
98317: Fixing resource merge to work within new project wizard
98997: Pick test runner from Gradle while creating test configuration
101279: Fix id reference check to properly handle undefined id's
103257: Append .exe extension on Windows (mksdcard)
103257: Welcome Wizard, on Windows, shows "Tools directory not found" error incorrectly
+ Bug fixes not tagged with a bug number in the commit message.

Installation
You can 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 are using an older version, you'll need to download a full install from the downloads page.

NOTE: 1.1preview2 is currently only available in the canary and dev channels, and Android Studio will by default look in the Beta or Stable channels, so if you want to update, open the preference dialog, go to the Updates category and change the channel setting.

Problems?
If you run into problems, be sure to check the Known Issues page which we'll update as necessary

Android Studio 1.1 Preview 1 Released

posted Jan 15, 2015, 5:10 PM by Tor Norbye   [ updated Jan 15, 2015, 8:53 PM ]

We've just released Android Studio 1.1 Preview 1 to the canary and dev channels.

The focus for version 1.1 is bug fixes; we are working in parallel on version 1.2 where we are migrating to the IntelliJ 14 codebase, among other feature work. 

However, in addition to the bug fixes there are some notable improvements:
  • New projects now create launcher icons as @mipmap resources instead of @drawable (see http://android-developers.blogspot.com/2014/10/getting-your-apps-ready-for-nexus-6-and.html for more)
  • The various "cleanup" detectors for lint (e.g. checking that FragmentTransactions are committed, and that TypedArrays are recycled, and so on), now run incrementally within the IDE. They've also been extended to search for additional problems, such as missing close calls on database cursors, or missing release calls on SurfaceTextures:

  • There are a couple of new lint checks:
    • A lint check which tries to identify string resources that should probably be using plurals instead
    • A lint check which warns you that @android:string/yes returns OK, not Yes
    • Several other lint checks that were bytecode based and only ran from Gradle (not lint in the IDE) have been ported to run incrementally in the IDE: Uses of SimpleDateFormat which should probably use getDateInstance instead, checks that addJavaScriptInterface points to a class annotated with @JavaScriptInterface, and a check looking for leaked Handler objects.
  • There is a new template for creating watch faces for Android Wear:
The following bugs in the issue tracker were fixed:
82378: Android Studio doesn't start, unable to find valid JVM
92858: Restrict IconDensities check with splits density data
81597: Incorrect inspection about Android problem for non-Android project
80668: Lint report doesn't explain how to suppress warnings from Gradle.
80679: tools:background should not trigger an overdraw warning
92789: False positive in lint PropertyEscape
82588: Lint: Make TypographyQuotes work with plurals
82861: Library project is created with launcher icon resources
82862: The xxhdpi launcher icon differs from other densities
82351: src, layout folders are empty while creating new project
78625: AVD Default orientation
80940: Update lint to ECJ 4.4, ASM 5.0.3: NullPointerException by running lint
80872: Don't match resource names for format-parameter only strings
82634: "Palette" show twice in View > Tools Window
94499Fixing the device preview in the search and create cases
82564Making AVD Manager separate (non-modal) window.
77158Allow settings.gradle to include projects dynamically
76923can't create outgoing link from widgets that are in included layouts
81908: Check if mksdcard can be executed
82837: Update wizards to use new headers
82764AVD Manager: SD Card Radio Button Selection
82991AVD Manager: Fix Key lines of the Verify Configuration Screen
82106install, bad link to linux KVM
77889save screenshot: respect device art masks
81525Added "Download JDK 7" quick-fix.
82813: uncommitted fragment transactions not highlighted by lint
81396: @DrawableRes doesn't match R.mipmap drawables
79629: Translations Editor does not show newly added locale
82768Making the AVD ID field look non-editable
93158: Properly handle parent class lookup in the API check for this-expressions
78382: Lint uses incorrect API level while analyzing Java Library modules
91988: FlagManager asserts on region code es-419
74568ADV Manager has start button but no stop button!
80494: Move Clear All and Scroll to End actions
82203Installer now waits for uninstaller
82126studio.exe can again run on Win64
83198: NPE when missing dependency during import
82770Updating api distributions and distribution dialog text
82812Updating title of AVD Manager window
78668Adding hardware buttons for nexus one and nexus s
82184 file paths (in local.properties) are no longer treated as relative if they belong to a different platform.
82837: Use black icons only
81166device chooser: Prefer to use a device rather than the emulator
82852After switching device types, the system image list broke
82753: Use $ as separator inner classes in fragment names
77635Fix scaling of device diagram.
82503Adding defaults for new avd creation wizard
81739Fixing avd duplication
79105Fixing button styles in avd manager
81768: Compute default parameter values quickly
81662Fixing skin chooser on windows
82282: Do not require approval of all licenses
81342Improve JDK detection algorithm
77953NPE on configuring library documentation
82159Closing exported device files.
81713Try to detect jdk location automatically on entering the step
81346Visual feedback for 'Detect JDK' button processing
81620: Do not download samples
79778apk installation: do not throw error for unexpected dumpsys output
81499device chooser: special case Google APIs target
+ Misc other fixes for crashes reported via the crash reporter
+ Bug fixes not tagged with a bug number in the commit message.
This does not include the work and fixes to the build system for Gradle plugin 1.1, still in progress. Note that Android Studio 1.1 works fine with version 1.0 of the Android Gradle plugin.

Installation
You can 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 are using an older version, you'll need to download a full install from the downloads page.

NOTE: 1.1preview1 is currently only available in the canary and dev channels, and Android Studio will by default look in the Beta or Stable channels, so if you want to update, open the preference dialog, go to the Updates category and change the channel setting.

Problems?
If you run into problems, be sure to check the Known Issues page which we'll update as necessary

Android Studio 1.0.2 Released

posted Dec 18, 2014, 1:45 PM by Tor Norbye   [ updated Dec 18, 2014, 1:45 PM ]

We've just released Android Studio 1.0.2 to the canary and dev channels; it should roll out to beta and stable within a day or so. This is just a bug fix release which the following fixes:
80594: SDK Manager on Windows fails to install tools
82998: Update recommended SDK Tools version in Android Studio from 24.0.1
79778: Package manager exception when using custom signing
82999: NPE in com.intellij.ide.navigationToolbar.NavBarPanel
82702: Objectify filter added to web.xml when generating endpoints from class, even when the class is not an objectify entity

Installation
You can 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 are using an older version, you'll need to download a full install from the downloads page.

NOTE: 1.0.2 is currently only available in the canary and channels, and Android Studio will by default look in the Beta or Stable channels, so if you want to update, open the preference dialog, go to the Updates category and change the channel setting.

Problems?
If you run into problems, be sure to check the Known Issues page which we'll update as necessary

Android Studio 1.0.1 Released

posted Dec 12, 2014, 2:08 PM by Tor Norbye

We've just released Android Studio 1.0.1 to the canary and dev channels; it should roll out to beta and stable within a day or so. This is just a bug fix release which the following fixes:
82159: AVD Manager locks exported device.xml file
81779: emulator log on Studio doesn't work on Windows
81023: Creating virtual device from Android Studio installed on C drive with Android SDK on D drive fails
82404: Update the recommended SDK tools version to 24.0.1.
82405: Make the default Update channel in the 1.0.x releases "Stable" rather than "Beta"
82071: "How do I create a custom hardware skin?" doesn't point to anything

Installation
You can 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 are using an older version, you'll need to download a full install from the downloads page.

NOTE: 1.0.1 is currently only available in the canary and channels, and Android Studio will by default look in the Beta or Stable channels, so if you want to update, open the preference dialog, go to the Updates category and change the channel setting.

Problems?
If you run into problems, be sure to check the Known Issues page which we'll update as necessary

Android Studio 1.0 Released

posted Dec 8, 2014, 10:43 AM by Tor Norbye   [ updated Dec 8, 2014, 11:00 AM by Chris Warrington ]

After two years of development, we're extremely happy to announce that Android Studio 1.0 has finally been released!
We would like to thank all of our early access users for their feedback and bug reports which helped shape the IDE.

Android Studio 1.0 Release Candidate 4 Released

posted Dec 4, 2014, 4:46 PM by Tor Norbye   [ updated Dec 4, 2014, 5:26 PM ]

We've just released Android Studio 1.0 Release Candidate 4 to both the canary and beta channels.

This build is almost identical to RC 3 posted a few hours ago, with just a couple of tweaks:
  • It bundles Android Gradle plugin 1.0.0-rc4 instead of rc3, which fixes a couple of important Gradle plugin issues
  • It includes the Import Sample wizard which was accidentally left out in earlier RCs
  • It updates the project structure dialog to use the new property names of a few recently renamed Gradle DSL methods
  • Launching an emulator from the AVD window now closes the AVD list window in order to immediately show emulator output
We have posted patches to the beta and canary channels, and you can also download .zip files for the builds from the 1.0 RC 4 page. We won't post updated installers for this build; just run the RC 3 installer and then patch update to RC 4.

Problems?
If you run into problems, be sure to check the Known Issues page which we'll update as necessary.


Android Studio 1.0 Release Candidate 3 Released

posted Dec 4, 2014, 12:48 PM by Tor Norbye   [ updated Dec 4, 2014, 1:12 PM ]

We've just released Android Studio 1.0 Release Candidate 3 to the canary and beta channels. This fixes a number of bugs reported against RC 2 and updates to the latest Gradle plugin.

One frequent problem users have reported is that editing idea.properties, idea.vmoptions or Info.plist for various reason (e.g. to tweak the VM heap size, or to switch to a different version of the JDK, etc) has resulted in patch update warnings.

As of RC 3, we have a better mechanism for customizing properties for the launchers on all three platforms. You should not edit any files in the IDE installation directory. Instead, you can customize the attributes by creating your own .properties or .vmoptions files in the following directories. (This has been possible on some platforms before, but it required you to copy and change the entire contents of the files. With the latest changes these properties are now additive instead such that you can set just the attributes you care about, and the rest will use the defaults from the IDE installation).

Windows:
  • %USERPROFILE%\.AndroidStudio\studio[64].exe.vmoptions
  • %USERPROFILE%\.AndroidStudio\idea.properties
Mac:
  • ~/Library/Preferences/AndroidStudio/studio.vmoptions
  • ~/Library/Preferences/AndroidStudio/idea.properties
Linux:
  • ~/.AndroidStudio/studio[64].vmoptions
  • ~/.AndroidStudio/idea.properties
You can also place use environment variables to point to specific override files elsewhere:
  • STUDIO_VM_OPTIONS, which vmoptions file to use
  • STUDIO_PROPERTIES, which property file to use
  • STUDIO_JDK, which JDK to run studio with
Note that this last variable allows you to for example run Android Studio with Java 7 on OSX (which normally picks Java 6 from the version specified in Info.plist):
$ export STUDIO_JDK=/Library/Java/JavaVirtualMachines/jdk1.7.0_67.jdk
$ open /Applications/Android\ Studio.app

Installation
This version is only available in both the canary channel and the beta channel. For Windows you can also download and test our new installer. 

NOTE: If you are in the beta channel, you cannot update directly from 0.8.14 to 1.0 RC3; you have to first install 0.9.9 (which is virtually identical to 1.0 RC3, except for the version number), and from there you can update to 1.0 RC3. The reason for this is that the update mechanism used to not offer updates to versions with a different major version (e.g. 0.8 to 1.0). We've removed that restriction in 0.9.9, so once you patch from 0.8 to 0.9 you can then update to 1.0.

Visit the 1.0 RC 3 page for download links.

Problems?
If you run into problems, be sure to check the Known Issues page which we'll update as necessary.


Android Studio 1.0 Release Candidate 2 Released

posted Nov 26, 2014, 11:39 AM by Tor Norbye   [ updated Nov 26, 2014, 11:39 AM ]

We've just released Android Studio 1.0 Release Candidate 2 to the canary channel. There are no new features; we are only fixing critical bugs at this point.

Installation
This version is only available in the canary channel for now. For Windows you can also download and test our new installer. Visit the Canary Channel page for download links.

Problems?
If you run into problems, be sure to check the Known Issues page which we'll update as necessary.

Android Studio 1.0 Release Candidate 1 released

posted Nov 20, 2014, 3:27 PM by Tor Norbye   [ updated Nov 20, 2014, 4:35 PM ]

We've just released Android Studio 1.0 Release Candidate 1 to the canary channel. Yes, that means we're getting close to a 1.0 release! In this release there are a number of bug fixes. 

We've also updated the splash screen and branding graphics to include our new logo, and the settings directories for the IDE have been updated from AndroidStudioBeta to just AndroidStudio. When you run this version for the first time, it should offer to import your settings from the beta settings directory.

Finally, we are now bundling a local Maven repository containing the Android Gradle plugin and all its dependencies, which should allow you to create new projects without a network connection. (This is also why this patch is fairly large).


Installation
This version is only available in the canary channel for now. For Windows you can also download and test our new installer. Visit the Canary Channel page for download links.

Problems?
If you run into problems, be sure to check the Known Issues page which we'll update as necessary

Android Studio 0.9.3 Released

posted Nov 14, 2014, 5:27 AM by Tor Norbye   [ updated Nov 20, 2014, 3:17 PM ]

We've just released Android Studio 0.9.3 to the canary channel. This is a bug fix release.

Installation
If you are already running Android Studio version 0.8.x or later, 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 are using an older version, you'll need to download a full install from the downloads page.

NOTE: 0.9.3 is currently only available in the canary channel, and Android Studio Beta will by default only look for updates in the beta channel, so if you want to update, open the preference dialog, go to the Updates category and change the channel setting.

Problems?
If you run into problems, be sure to check the Known Issues page which we'll update as necessary

1-10 of 191