Just today, Google launched (or updated, as may be the case) Android Studio to version 2.3, the newest version of its integrated development environment (IDE). The update comes after the massive 2.2 update, and this time has some improvements and a few new features with it.
Here’s a rundown of the new features you’ll be getting in Android Studio 2.3:
– Instant Run improvements: The Run action will now always cause an application restart to reflect changes in your code that may require a restart, the new Apply Changes action will attempt to swap the code while your app keeps running, the underlying implementation is more reliable, and the startup lag for Instant Run enabled apps has been eliminated.
– Build Cache: This feature is disabled by default in Android Studio 2.2. It is now enabled by default, the underlying build optimization results in faster builds by caching exploded AARs and pre-dexed external libraries.
– Chains and Ratios support in Constraint Layout: The stable release of ConstraintLayout means you can now chain two or more Android views bi-directionally together to form a group on one dimension, helpful when you want to place two views close together but want to spread them across empty space. ConstraintLayout also supports ratios, helpful for maintaining the aspect ratio of widgets as the containing layout expands and contracts.
– Layout Editor Palette: The updated widget palette allows you to search, sort, and filter to find widgets for your layouts, plus gives you a preview of the widget before dragging on to the design surface.
Layout Favorites: You can now save your favorite attributes per widget in the updated Layout Editor properties panel by starring an attribute in the advanced panel.
– WebP Support: WebP images can now be generated from PNG assets in your project to save space (up to 25 percent) in your APK. There’s a new wizard that converts PNG to lossless WebP and also allows you to inspect lossy WebP encoding as well. Right-click on any non-launcher PNG file to convert to WebP or right-click on any WebP file in your project to convert back to PNG.
– App Links Assistant: The new assistant (Tools => App Link Assistant) lets you easily create new intent filters for your URLs, declare your app’s website association through a Digital Asset Links file, and test your Android App Links support.
– IntelliJ Platform Update: IntelliJ 2016.2 release, which has enhancements such as an updated inspection window and a notifications system, is now included.
– Android Emulator Copy & Paste: This feature has been added back to the latest Emulator (v25.3.1). The shared clipboard between the Android Emulator and host operating system will allow you to copy text between both environments.
– Android Emulator Command Line Tools: The emulator has been moved from the SDK Tools folder into a separate emulator directory. The “android avd” command has been deprecated and replaced with a standalone avdmanager command. If you create Android Virtual Devices (AVDs) directly through the command line you should update any corresponding scripts — these change will not impact your workflow if you use the Android Emulator through Android Studio 2.3.
If you’re using Android Studio on a Windows, Mac, and Linux – you can now directly download from the official download site. If you are already using Android Studio, then you can get the latest version via na update. You can navigate this way on the menu: Help > Check for Update on Windows/Linux and Android Studio
OR Check for Updates on OS X
.
SOURCE: Android
“Right-click on any non-launcher PNG”
Why not launchers too? Transparent WebP is also supported, from Android 4.2.1..
Also, about the instant-run, I’ve noticed it generates multiple APK files for each app you install using this method, in the “/data/app/…” path, and that none of them are the APK of the app. Any way to share the APK of the installed app this way? A merging of them, using the API ?