Recent Changes‎ > ‎

Android Studio 0.8.7 Released

posted Aug 21, 2014, 3:06 PM by Tor Norbye   [ updated Aug 21, 2014, 3:09 PM ]
We've just released Android Studio 0.8.7 to the canary channel. The new version contains a large number of bug fixes, along with a couple of notable new features.

Translation Editor

First, we have a new translation editor, which lets you view and edit the translations for your strings in your application. To open it, right click on a file named "strings.xml" in your project and invoke Open Translation Editor (and in an upcoming release we'll add additional ways to open it, such as adding links from individual resource editors):

Here's what the editor looks like for a new blank project:

You can now click on the globe icon to add additional locales, and you can click on the plus icon to add additional messages. To edit a particular message, select the cell in the table, and then edit it in the details panel below the table. (In an upcoming release we'll enable inline editing in the table.)

Here's what the editor looks like for a more complete project, the I/O Schedule app:

Note that for a message that is not translated in every locale, the key will be shown in red. You can see that the empty cells are shown in a different color, but you can also hover over the key and it will list the missing locales. This is particularly useful when you have a large number of locales and not every locale is visible in the current horizontally scrolled viewport.

Note also that when you have many languages like this, you can click on a table header to grow a particular language column; here we've clicked on Italian. You can click again to collapse it back.

Bitmap rendering in the debugger

While debugging, you can now right click on variables in your app that are of type Bitmap, and invoke View Bitmap:
This will then fetch the associated data from the debugged process and render the bitmap in place in the debugger:

There is also a new lint check which ensures that in custom views, the associated declare-styleable for the custom view uses the same base name as the class name, since this code convention is used to for example tie attribute completion and refactoring updates together.

If you are already running Android Studio version 0.8.x, 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.8.7 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.

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