posted Aug 26, 2013, 5:31 PM by Tor Norbye
[
updated Aug 27, 2013, 10:56 AM by Raphaël Moll
]
We've just released Android Studio 0.2.6. This version fixes a number of bugs and issues.
- Merge in new IntelliJ changes.
- Further fixes to Gradle project import after the big switch to in-process imports in version 0.2.4; improved error diagnostics, particularly around connection failures.
- Fix the layout editor resource lookup bug ("
Couldn't resolve resource @string/hello_world ")
- Automatically apply the Android XML code style if a code style hasn't already been customized. This will make it possible to automatically order XML attributes (check the "Rearrange Entries" checkbox in the "Code > Reformat Code..." dialog.)
- When creating new templates, open the project view if necessary and select them there as well (in addition to opening the editor)
- Further resource infrastructure work (for example, layout editors don't have to wait for Gradle project sync at startup) and template infrastructure work
- Windows users: Fix the location of the IDE settings ("config" folder -- see issue 56230). See below for details.
Installation
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. We are not posting full installers for each weekly update. If you do not already have Android Studio, install the latest full install from http://developer.android.com/sdk/installing/studio.html#download . When you run that version, it will check for updates and upgrade itself via the patch mechanism.
When updating from version 0.1.x or 0.2.x on Windows, after the update you'll be prompted to "import your settings" to complete the installation:
As explained in issue 56230, Android Studio 0.1.x and previous 0.2.x versions were not storing their settings in the right place -- they were doing so in the Windows AppData folder, where apps are not supposed to write -- this caused issues for all users not running with Administrator privileges Android Studio 0.2.6 restores the correct location for the settings. As a user upgrading, you have 2 choices:
- You have no particular settings worth importing ==> Just select the option "I do not have a preview version of Android Studio" in the "Complete Installation" dialog. No more questions asked. You'll see the "Welcome Wizard" next where you can find your existing projects or import them.
- You have settings that are important to you ==> The "Complete Installation" dialog makes it trivial for you to import/copy the older settings in the right place. All you have to do is select the "config" folder in the previous installation of Android Studio.
- On Windows Vista/7/8, the path is generally:C:\Users\YourUserName\AppData\Local\Android\android-studio\config
or it might be C:\Program Files\Android\android-studio\config.
- Little trick here: the folder dialog does not show the "AppData" folder because it's a protected system folder. You'll need to type it yourself in the "folder name" field.
- You need to select the "config" folder, not just the "android-studio" folder. That's because what you really want to import & copy are the configuration settings, not the app itself.
|
|