Recent Changes‎ > ‎

Android Studio 1.5 Preview 1 Available

posted Oct 13, 2015, 10:55 AM by Tor Norbye
We've just released 1.5 Preview 1 to the canary channel!

The memory profiler has a new "analysis" feature where it can analyze a heap dump to look for known problems, such as leaked activities. To use this feature, open a heap dump and look for the Analyzer Tasks window on the right:
In the analysis window you can press the Run button to perform and analysis, and then drill into the results; here's an example of a leaked activity:

There are several new lint checks as well; here's one which warns you if you are attempting to override resources referenced from the manifest (where only a small set of resources are actually dynamically resolved) :
Overall there are a number of bug fixes, particularly in the editing area where we're working to polish code completion in resource and manifest files. For example, you can use short names in completion to custom views now:

You can update your current 1.4 installation to 1.5 Preview by using the built-in patch mechanism (make sure you switch to the Canary channel first, if necessary.)

BUT YOU MAY NOT WANT TO DO THAT. Patch-updating to this new version will replace your existing stable installation with a preview version. Instead, you can download a separate installation of 1.5 from the Android Studio 1.5 Preview 1 page. You can keep 1.4 and 1.5 installed side by side; they use separate settings and cache directories.

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