BT

InfoQ Homepage News Android Studio 2.2: New Layout, Firebase, OpenJDK, Java 8

Android Studio 2.2: New Layout, Firebase, OpenJDK, Java 8

Bookmarks

Android Studio 2.2 comes with enhancements across all development phases - Design, Development, Build and Test -, including a new Constraint Layout, Layout Editor, Firebase plug-in, Code Sample browser, Java 8 support, OpenJDK, GPU Debugger and others.

Design

  • Constraint Layout – similar to RelativeLayout but more flexible and easier to work with in the layout editor. Useful to create complex layouts without nesting them.
  • Layout Editor – a user interface tool for designing an application’s layout via drag and drop, including a properties editor.
  • Experimental Layout Inspector – used to create a snapshot of the current view hierarchy that is executed on the emulator or an actual device to determine if a layout is rendered as expected.

Develop

  • Firebase services – AdMob, Analytics, Authentication, Notifications – can be easily integrated with an existing or a new application.
  • Code Sample Browser – finds code samples showing how a variable, method or type are used on GitHub.
  • Better Code Analysis & Lint checks – includes 260 Android Lint and code inspections, including Java 8 checks and cross-file analysis.
  • IDE based on IntelliJ 2016.1.3

Build

  • The Jack compiler toolchain supports annotation processing and does incremental builds.
  • A number of Java 8 language features are supported including lambda expressions, type annotations, interface methods, method references.
  • Merged Manifest Viewer – used to see how the manifest merges with dependencies.
  • Experimental build cache – files and directories created in previous builds, even in different projects, are stored and reused to improve build time.
  • OpenJDK is now bundled with Android Studio. A different JDK can be used if desired.

Test

  • Espresso Test Recorder (Beta) – records interactions with a UI to play them in an Espresso test locally or on Firebase.
  • GPU Debugger (Beta) – used to debug OpenGL ES applications.
  • APK Analyzer – provides size information about various components in an APK.

Android Studio 2.2 includes stability fixes and performance improvements. For more details on what is new we recommend reading the release notes.

Rate this Article

Adoption
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

BT

Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
Country/Zone:
State/Province/Region:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.