Android Studio 2.0 is in Stable Channel!
Android Studio 2.0 finally released in Stable Channel (I knew it was already on the Canary channel for months but I prefer Stable Channel 😛 ). Why I’m excited about this version, as you can see this is a major upgrade version from 1.5.1 to 2.0 and one of the features that keep me waiting for months is Android Emulator 2.0. The main focus in this release is helping us speeding up the development process. So in this short article, we just like to show you these 2 features (which I care the most), the complete release notes you can find it here
1. Instant Run:
This is something that every developer love to see. Before this, when we make a minor change to the code we need to build the app and wait for the app to deploy into emulator or devives. Now, with Android Studio 2.0, for some cases you can change your code and see the result immediately WITHOUT NEED to wait for the redeployed process, Cool!!
So let’s try with example after you deployed app to the emulator or device. And then you make a minor change to the code you will notice the icon for both of these will have a thunderbolt icon sit next to them like this.
This Indicating that Instant Run is ready push updates the next time you click the button. When you click these button and notice the screen display this. Haa… I like this. :).
2. Android Emulator 2.0
In order for you to use this brand new Android Emulator 2.0, you need do the following
1. Start the SDK Manager from Android Studio.
2. In the SDK Platforms tab, update the latest SDK, in this case Android 6.0 (Marshmallow).
3. Click the SDK Tools tab, make sure you have the following
Click OK to check for updates.
4. After installation complete, you need to restart Android Studio then open the AVD Manager. You may have this message on your AVD manager, So just click the Reinstall Haxm, to update Virtual Machine acceleration driver, and leave the rest as default.
5. Click Create Virtual Device. Then Select the defaults for Nexus 6.
6. Select Marshmallow – API 23 – x86 as system image.
7. Select Show Advanced Settings.
8. Select the Multi-Core CPU check box. The number of cores available depends on the number of cores available on your development machine.
9. Give a name to your emulator, and run your new Android Virtual Device by click on the green Play button.You should see the Android Emulator.
For the Emulator 2.0, I still feel slow on my machine and my machine CPU are quite busy when the emulator started and for the memory consumption is still crazy cause my machine slowing down. (Hmmm must be something goes wrong). Besides, we can see from above screen there is a toolbar on the right side to help us to rotate the screen, turn off screen, soft back keys, etc. Before this we need to remember every these combination shortcut keys. A bit disappointed but overall is still fine so I still will give it a try. 🙂
These are the 2 things I like the most. What about you? Share your thought and tell us what others feature you been wanting most had been released in this version. And if you have not updated to Android 2.0 You should DO Now!!!