Create Amazing Apps With Android Studio 4.0

by Tech Mainstream Staff


June 3, 2020


Create Amazing Apps With Android Studio 4.0

Google and the Google logo are registered trademarks of Google LLC, used with permission.


(Tech Mainstream) Android Studio 4.0 was recently released. New features include "a new Motion Editor to help bring your apps to life, a Build Analyzer to investigate causes for slower build times, and Java 8 language APIs you can use regardless of your app’s minimum API level."

Motion Editor On Its Own

The new Motion Editor is a "a powerful interface for creating, editing, and previewing MotionLayout animations." Instead of you normally having to create and alter xml files, the Motion Editor generates them by itself. Editing constraint sets, transitions, keyframes, and view attributes are available options for development.

New and Improved Layout Inspector

Live Layout Inspector essentially debugs your app’s UI in real-time: "With the new Layout Inspector, debugging your UI is much more intuitive by giving you access to data that stays updated with your running app and providing insights on how resources are being resolved." For devices running API 29 level or higher, "a dynamic layout hierarchy that updates as views change, detailed view attributes that also help you determine how resource values are resolved, and a live 3D model of your running app’s UI" features are also available.

Layout Validation Window

For devices with different screen sizes and resolutions the look of your UI can vary. Introducing Layout Validation window. Layout Validation window previews "layouts on different screens and configurations simultaneously, so you can easily ensure your app looks great across a range of devices."

CPU Profiler UI Upgrades

The CPU Profiler is "designed to provide a rich amount of information about your app’s thread activity and trace recordings."

Interesting CPU Profiler features include the following: Android Studio 4.0, CPU recordings are now separated from the main profiler timeline and organized in groups to allow for easier analysis, easier side-by-side analysis, for viewing all thread activity in the Thread Activity timeline, a redesigned System Trace UI where events are uniquely colored for better visual distinction, threads are sorted to surface the busier ones first, and you can now focus on seeing data for only the threads you select and investment in the quality of the CPU profiler, and a significant decrease in the user-reported error rates of recordings since Android Studio 3.6

Other Develop & Profile Features

Besides the improved CPU Profiler, other development features include Smart editor features when writing rules for code shrinking, IntelliJ IDEA 2019.3 platform update, Kotlin Android live templates and Clangd support for C++.

Build and Build

A number of build features have been introduced in the Android Studio 4. A Build Analyzer, Java 8 Language library desugaring in D8 and R8, feature-on-feature dependencies, new options to enable or disable build features, Essential support for Kotlin DSL script files and dependencies metadata are among these features.

Android Studio 4 can be downloaded at the download page. Also feedback on things you like, and issues or features you would like to see is appreciated. Follow the Android Studio development team on Twitter and on Medium.

TECH IN A SECOND

8-3-21 Google Assistant is joining Bixby on the Galaxy Watch 4 series

8-3-21 Apple's new Mac Pro GPUs promise a huge performance boost

8-3-21 Google’s local ads tips for the back-to-school shopping season

8-3-21 Apple Reports Third Quarter Results

8-3-21 Twitter for iOS officially gains support for Sign in with Apple

8-2-21 Windows 11 redesigns Microsoft Paint and Photos app – here’s our first look

8-2-21 Deals: Get Apple's 512GB M1 Mac Mini for Record Low of $799 on Amazon ($100 Off)

8-2-21 Google offers Stadia Controller, Chromecast in $100 bundle

8-2-21 Klipsch T5 II ANC earbuds use Bragi AI to let you answer calls by nodding

8-1-21 Are iPhone buyers more loyal than Android buyers?

8-1-21 Latest IDC numbers reiterate Apple’s dominance of tablet market

8-1-21 Can your PC handle Windows 11? Here’s how to find out

7-31-21 10 deals you don’t want to miss on Saturday: $5 Alexa smart plugs, $110 electric standing desk, rare Nest Thermostat deal, more

7-31-21 Why do 2021’s smartphones - like the Galaxy Note 21 - keep being delayed or canceled?

7-31-21 Why You Suddenly Need To Delete Gmail On Your iPhone

7-31-21 A starter pack of Nanoleaf’s stunning canvas panels is $50 off at Costco today

7-30-21 Google officially announces subsea cable to connect Europe and Asia via Israel

7-30-21 Motorola debuts Edge 20 flagships globally with fast refresh screens and 108-megapixel cameras

7-30-21 The Google TV Setup app is now listed on the Play Store

7-30-21 Everything new coming from Apple in August 2021

7-30-21 Huawei’s P50 lineup is powered by HarmonyOS 2 but lacks 5G

7-30-21 Windows 11 Is Now Available as a Beta

7-29-21 The first Windows 11 preview is now available to Beta channel testers

7-29-21 Apple Releases New macOS 12 Monterey Public Beta

7-29-21 Huawei’s P50 announced with Snapdragon 888 and HarmonyOS

7-29-21 Sony’s first PS5 software beta arrives with M.2 SSD support

7-29-21 Apple’s M1 MacBook Air is at its lowest price ever at Best Buy today

7-29-21 The global chip shortage is starting to hit the smartphone industry

7-28-21 Android Studio Arctic Fox (2020.3.1) Stable

7-28-21 Radeon RX 7000 graphics cards and Ryzen 7000 processors confirmed on track for 2022 release

7-28-21 Microsoft: You Can't Get Around Windows 11 Requirements

7-28-21 Krispy Kreme has created official Xbox-branded doughnuts

7-28-21 Facebook recalls Quest 2 foam inserts over skin irritation issues

7-28-21 ZTE Axon 30 5G brings second-gen UD camera, Snapdragon 870 and 55W charging

7-28-21 iPhone 13 launch date: Apple just gave us a big hint