We've just released 1.4 Preview 1 to the canary channel! In addition to a large number of bug fixes, 1.4 contains the following new features: A new theme editor, which helps you view, explore and edit your themes. (In this first version, only color and color state-lists are included.) You can access the theme editor from your styles.xml file. Two new performance monitors, available from the Android Monitor tab: A GPU profiler, which graphs the GPU usage for the connected process, and a network profiler, which graphs the network usage for the connected process: A new "Vector Asset" wizard which lets you create Android XML vector drawables from SVG files as well as import vector icons from the Material Design vector icon library. (There is also support on the way for generating PNG images from vector icons at build time; that's part of the Android Gradle plugin 1.4 which should be available in preview form soon.) There are many new lint improvements: a new lint check which makes sure that the constants specified in @IntDef are unique, a new lint check which flags suspicious flag initialization syntax, a new lint check which flags suspicious combinations of XML prefixes and namespaces, a quickfix for API check warnings to surround the target method call with a version, the lint missing permission check now also looks for permissions required by Intent actions and ContentResolvers, and custom lint rules are now checked and displayed within Android Studio. IDE quickfixes for configuring the project, which we disabled a while back since they did not properly update the Gradle build files, are now back and fully functional: And in the C++ editor, there is basic support for Doxygen comments in code completion on APIs. Installation You can update your current 1.3 installation to 1.4 Preview by using the built-in patch mechanism. 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.4 from the 1.4 Preview Page. You can keep 1.3.1 and 1.4 installed side by side; they use separate settings and cache directories. Problems? If you run into problems, be sure to check the Known Issues page which we'll update as necessary. |
Recent Changes >