Paul Krill
Editor at Large

Android Studio 4.0 adds Motion Editor and Build Analyzer

news
Jun 3, 20202 mins

Animation and builds get special attention in the latest upgrade to the official IDE for Android development

Android mobile phone code
Credit: Google / Tero Vesalainen / Getty Images

Android Studio 4.0, the latest version of the official IDE for Android mobile development, has reached the stable channel stage. The update features capabilities such as a new Motion Editor and a Build Analyzer.

Motion Editor is a visual design editor for the MotionLayout type. The editor makes it easier to use the MotionLayout API to manage motion and widget animation in their applications. XML files are generated, saving developers from this task. Also offered is support for editing constraint sets, transitions, keyframes, and view attributes. MotionLayout builds upon the capabilities of ConstraintLayout for designing large and complex Android views.

Build Analyzer addresses bottlenecks in a build such as disabled optimizations and improperly configured tasks. Build Analyzer is supported in the Android Gradle 4.0.0 plug-in by using Java 8 language APIs and creating feature-on-feature dependencies between Dynamic Feature modules.

Android Studio 4.0 can be downloaded from the Android Studio developers website.  Other capabilities in Android Studio 4.0 include:

  • Kotlin DSL build script files (*kts) now are supported. Kotlin build scripts offer a suite of quick fixes from the Project Structure dialog.
  • An upgraded Layout Inspector makes debugging a UI more intuitive by providing access to data that stays updated with a running app and offering insights on resource usage. A Layout Validation capability compares a UI across multiple screen dimensions.
  • The CPU Profiler in Android 4.0 provides CPU recordings separate from the main profiler timeline, and they’re organized in groups for easier analysis.
  • For developers writing C++, clangd is now the primary language analysis engine for code navigation, completion, inspection, and displaying code errors and warnings. The clang-tidy linter tool is now bundled with Android Studio.
Paul Krill

Paul Krill is editor at large at InfoWorld. Paul has been covering computer technology as a news and feature reporter for more than 35 years, including 30 years at InfoWorld. He has specialized in coverage of software development tools and technologies since the 1990s, and he continues to lead InfoWorld’s news coverage of software development platforms including Java and .NET and programming languages including JavaScript, TypeScript, PHP, Python, Ruby, Rust, and Go. Long trusted as a reporter who prioritizes accuracy, integrity, and the best interests of readers, Paul is sought out by technology companies and industry organizations who want to reach InfoWorld’s audience of software developers and other information technology professionals. Paul has won a “Best Technology News Coverage” award from IDG.

More from this author