Skip to main content

Android Studio 4.0 features design, development and build improvements

The latest version of Android Studio is now available. Highlights of Android Studio 4.0 include a new Motion Editor and Build Analyzer, and improved versions of CPU Profiler and Layout Inspector. 

“During these uncertain times, we’re humbled by the many developers around the world who are finding ways to keep doing what they do best—create amazing apps for Android. Whether you’re working from your kitchen table on a laptop or from a home office, you need tools that keep up with you. Android Studio 4.0 is the result of our drive to bring you new and improved tools for coding smarter, building faster, and designing the apps your users depend on, and it’s now available on the stable channel,” Adarsh Fernando, product manager at Google, wrote in a post

Highlights include:

Design
Motion Editor is a GUI for creating, editing, and previewing MotionLayout animations. The MotionLayout API is an API for managing motion and widget animation in apps. With Motion Editor, developers can skip the process of creating and modifying XML files manually. It generates these files automatically and offers support for editing constraint sets, transitions, keyframes, and view attributes. 

RELATED CONTENT: Three smartphone trends worth watching

An improved version of Layout Inspector provides a more intuitive way of debugging UIs. It provides access to data and insights on how resources are being used. 

Android Studio 4.0 also introduces a Layout Validation feature that can be used to preview layouts on different screens and configurations simultaneously. 

Develop & Profile
CPU Profiler was overhauled in this release. As a result of user feedback, the team decided to separate CPU recordings from the main profiler timeline. They are now organized in groups that can be more easily analyzed. All thread activity can now be viewed in the Thread Activity timeline as well. The team also redesigned the System Trace UI with uniquely colored threads, sorting capabilities, and the ability to see data just for selected threads.

Android Studio 4.0 also adds smart editor features, such as syntax highlighting, completion, and error checking. When integrated with an Android project, it also provides full symbol completion for all classes, methods, and fields, as well as quick navigation and refactoring. 

Other development updates include the IntelliJ IDEA 2019.3 platform update, Kotlin live templates, and clangd support for C++.

Build
Build Analyzer is another new tool in this release. It offers insights into bottlenecks in a build by highlighting the plugins and tasks responsible for overall build time and suggesting ways to mitigate issues. 

Developers using Android Gradle plugin 4.0.0 or higher can also take advantage of the feature-on-feature dependencies. This means that developers can define relationships between modules and specify that a specific module is dependent on another. “Being able to define this relationship ensures that your app has the required modules to unlock additional functionality, resulting in fewer requests and easier modularization of your app. For example, a :video feature can depend on the :camera feature. If a user wants to unlock the ability to record videos, your app automatically downloads the required :camera module when it requests :video,” Fernando explained.

Java 8 language APIs are also now supported, and can now be used regardless of an app’s minimum API level. 

Other build features include the ability to enable or disable discrete build features and support for Kotlin DSL script files. 

The post Android Studio 4.0 features design, development and build improvements appeared first on SD Times.



from SD Times https://ift.tt/3evvkkN

Comments

Popular posts from this blog

Difference between Web Designer and Web Developer Neeraj Mishra The Crazy Programmer

Have you ever wondered about the distinctions between web developers’ and web designers’ duties and obligations? You’re not alone! Many people have trouble distinguishing between these two. Although they collaborate to publish new websites on the internet, web developers and web designers play very different roles. To put these job possibilities into perspective, consider the construction of a house. To create a vision for the house, including the visual components, the space planning and layout, the materials, and the overall appearance and sense of the space, you need an architect. That said, to translate an idea into a building, you need construction professionals to take those architectural drawings and put them into practice. Image Source In a similar vein, web development and design work together to create websites. Let’s examine the major responsibilities and distinctions between web developers and web designers. Let’s get going, shall we? What Does a Web Designer Do?

A guide to data integration tools

CData Software is a leader in data access and connectivity solutions. It specializes in the development of data drivers and data access technologies for real-time access to online or on-premise applications, databases and web APIs. The company is focused on bringing data connectivity capabilities natively into tools organizations already use. It also features ETL/ELT solutions, enterprise connectors, and data visualization. Matillion ’s data transformation software empowers customers to extract data from a wide number of sources, load it into their chosen cloud data warehouse (CDW) and transform that data from its siloed source state, into analytics-ready insights – prepared for advanced analytics, machine learning, and artificial intelligence use cases. Only Matillion is purpose-built for Snowflake, Amazon Redshift, Google BigQuery, and Microsoft Azure, enabling businesses to achieve new levels of simplicity, speed, scale, and savings. Trusted by companies of all sizes to meet

2022: The year of hybrid work

Remote work was once considered a luxury to many, but in 2020, it became a necessity for a large portion of the workforce, as the scary and unknown COVID-19 virus sickened and even took the lives of so many people around the world.  Some workers were able to thrive in a remote setting, while others felt isolated and struggled to keep up a balance between their work and home lives. Last year saw the availability of life-saving vaccines, so companies were able to start having the conversation about what to do next. Should they keep everyone remote? Should they go back to working in the office full time? Or should they do something in between? Enter hybrid work, which offers a mix of the two. A Fall 2021 study conducted by Google revealed that over 75% of survey respondents expect hybrid work to become a standard practice within their organization within the next three years.  Thus, two years after the world abruptly shifted to widespread adoption of remote work, we are declaring 20