📜 ⬆️ ⬇️

Preview Android Studio 2.0 is available: two uber features

Greetings. This morning, the expected announcement of Android Studio version 2.0 took place, in which google presented two cool features to us at once. First, this is a new android emulator. Which, according to google, “works on a good hardware faster than a physical device”. Secondly, this is the new “instant run” function, which allows updating the mobile application launched under debugging almost instantly when the source code is changed. This is practically a “hot reload” from web development. Under the cut - a little more detail and a number of less noticeable improvements. The new version is already available for download in the canary update channel.



Assembly speed


')
According to Stephanie Cuthbertson, one of the leaders of the Android Studio, Google is now focused on the stability and speed of its development environment. The new version of Android Studio collects applications in two - two and a half times faster than the previous version.



GPU profiler



In the new version, a preview version of the render profiler is available via GPU. Using this tool, developers can analyze the rendering time of elements in each frame and find "bottlenecks".



New Android Emulator



The brakes of the official emulator have already become a byword and have led to the emergence of alternative solutions. There is a version based on VirtualBox, there is a version from Microsoft that comes with Visual Studio. Google somewhat upset such a scenario, and along with the new version of Android Studio, we are presented with a new emulator. Very fast. With a redesigned interface. With all services, camera and GPS. And he can change the resolution of the device when resizing his window! The new version is not yet available , but it promises to show developers in the near future.



Instant run



The feature is available on both the emulator and the physical device, provided the application is compiled for the Android version of Ice Cream Sandwich or later. Stephanie Cuthbertson declined to say on what principle this magic works, but said that Google will soon publish a technical article in which it will reveal all the details. At the moment, the function works far from all changes (see the list in the comments), but I hope that after a while we will get the tool better than those available to developers for web and react native.

The new version of Android Studio can be downloaded on the official website . Also available announcement .

Source: https://habr.com/ru/post/271535/


All Articles