Create Amazing Apps With Android Studio 4.0

by Tech Mainstream Staff


June 3, 2020


Create Amazing Apps With Android Studio 4.0


(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.

 

 

 

Visit Tech Mainstream's homepage for more stories.

 

TECH IN A SECOND

9-30-20 SoftBank-backed used-car startup Kavak becomes first Mexican unicorn

9-30-20 Amazon Sidewalk will create entire smart neighborhoods. Here's what you should know

9-30-20 Protect your parcels this holiday season with a video doorbell

9-30-20 HP's new VR headset can track your mental load with plethora of sensors

9-30-20 LG Wing lands at Verizon on Oct. 15 for $1,000

9-30-20 SpaceX's Starlink in action: Internet satellites keep emergency workers online amid wildfires

9-30-20 Google unveils latest Pixel phone, rolls out new TV service

9-30-20 U.S. tech giants face curbs on data sharing, digital marketplaces, under draft EU rules

9-30-20 My 8 Best Local SEO Tips for the 2020 Holidays

9-29-20 A tech event like no other

9-29-20 Apple Watch Series 6: SpO2 tracking is still in its early stages

9-29-20 Best Portable Charger 2020

9-29-20 Top Robotic Process Automation Vendors for Satisfaction Revealed by Real Users In SoftwareReviews Report

9-29-20 Dell Deals: G5 Gaming PC Only $600, 27-Inch Curved Gaming Monitor Just $210

9-29-20 Pixel 5 announcement: Watch Google's virtual event from the comfort of your couch

9-29-20 Microsoft resolves major Monday outage after five hours

9-29-20 Amazon sees broad audience for its palm recognition tech

9-29-20 Exclusive: Google, Fitbit deal set to win EU okay after fresh concessions - sources

9-28-20 Cyberattack hobbles major hospital chain’s US facilities

9-28-20 Fitbit Sense, Versa 3 and Inspire 2 are here: How to decide which to buy

9-28-20 The best smart home devices of 2020: Amazon and Google fight to control your house

9-28-20 Tyler Technologies tells users to change passwords after ransomware attack

9-28-20 How and why Microsoft is building a 'telco-grade cloud'

9-28-20 Amazon Echo Dot (2020) price, release date, and features

9-27-20 You Can Pay What You Want for These 11 Cyber Security Courses

9-27-20 Seagate Confirms World's Largest Hard Disk Drive on Track for December

9-27-20 Apple Watch Series 3 owners deal with random reboots in watchOS 7

9-27-20 These Truly Wireless Headphones Are Only $21!

9-27-20 AirPower 2020: Apple May Launch Super-Cool Accessory In Days

9-27-20 Google rolls out new automated threat detection tool

9-26-20 Scientists pave way for carbon-based computers

9-26-20 Amazon Announces Next-Generation Fire TV Stick, Fire TV Stick Lite, and Redesigned User Experience

9-26-20 Worldwide Wearables Market Forecast to Maintain Double-Digit Growth in 2020 and Through 2024, According to IDC

9-26-20 U.S., UK sign agreement on artificial intelligence

9-26-20 EV maker Xpeng, its CEO invest in air taxi startup

9-25-20 Please remain calm while the robot swabs your nose

9-25-20 Amazon Ring's New Security Cameras and Tech Protect Your Car (and You)

9-25-20 LinkedIn Introduces Stories and a Redesign to Create a Friendlier Platform

9-25-20 Amazon's new Eero 6 Mesh routers: What you need to know

9-25-20 US Digital Trust Study: Which social media platforms have the highest levels of digital trust among US social users

9-25-20 How Well Do You Know Your Digital Customers?

9-25-20 Xbox Series S games, specs, price, how it compares to Xbox Series X

9-24-20 1Password partners with Privacy.com on secure virtual credit card numbers

9-24-20 5 Ways To Use LinkedIn Stories For Your Personal Brand

9-24-20 Nuvia raises $240 million to design Arm-based CPUs for datacenters

9-24-20 Amazon’s new AirPods 2 sale beats Prime Day prices, and AirPods Pro are $30 off

9-24-20 It’s official: the OnePlus 8T will support 65W fast charging

9-24-20 Navigate safely with new COVID data in Google Maps

9-24-20 Galaxy S20 FE deal alert: Samsung's brand-new phone is $100 off at Best Buy and Amazon

9-24-20 TicWatch 3 Pro is the first Wear OS smartwatch with a Snapdragon Wear 4100 chip

9-23-20 Google ‘Launch Night In’: Here’s everything we expect for the Pixel 5 event [Video]

9-23-20 UAE to Get Auto Safety Tech from Israel-Based Mobileye

9-23-20 Announcing Flutter Windows Alpha

9-23-20 New Microsoft Office on the way for people who don't want a subscription

9-23-20 If you don't delete these iOS and Android apps now, it could cost you some of your hard-earned cash

9-23-20 Microsoft’s Edge browser is arriving on Linux in beta next month

9-23-20 How the New Digital 360 Drives Faster, Easier Digital Transformation

9-22-20 Demystifying the new Play In-App Review API

9-22-20 Tesla's value drops $50 billion as Musk's promised cheaper battery three years away

9-22-20 Samsung's 980 Pro PCIe 4.0 SSD is surprisingly affordable on the low end

9-22-20 AMD’s Ryzen C-series ups the ante on Chromebook performance

9-22-20 Amazon Prime Day looks like it’ll happen on October

9-22-20 Apple says some users facing issues with App Store, Music, TV+

9-22-20 Deep learning accelerator DeepCube raises $7M in new round

9-22-20 TikTok's promise of 25,000 new U.S. jobs sets lofty goal

9-22-20 NVIDIA and Oracle Advance AI in Cloud for Enterprises Globally

9-22-20 AT&T and Microsoft to streamline cloud connectivity for IoT devices worldwide

9-22-20 Search Intent and SEO: A Quick Guide

9-21-20 Samsung is being very ambitious about the Galaxy S20 FE’s fortunes

9-21-20 Nvidia to Upgrade Online Store to Stop Bots From Snatching RTX 3080 Cards

9-21-20 DigitalOps remains key focus for PagerDuty as its customers cope with unprecedented online demand

9-21-20 Gmail can now be set as the default iOS 14 email app

9-21-20 RV makers are rushing to add office, desk, and WiFi options to cater to the new 'work from anywhere' crowd created by the pandemic

9-21-20 Cobalt demand for 5G technology to challenge electric vehicles