头图

Author/ Karen Ng, Director, Product Management & Jacob Lehrbaum, Director of Developer Relations, Android & Play

As Android developers, we are committed to creating a satisfying experience for users all over the world. Nowadays, users are more dependent on your application than ever before, their expectations of you are getting higher and higher, and your job as a developer is getting more and more difficult. Today at the Google I/O conference, we introduced some new initiatives that can help you, including Android 12 -this is one of the biggest design changes in Android history; Jetpack, Jetpack Compose , Android Studio and Kotlin, come to help you build beautiful and high-quality applications . We will also help you extend the application to other users' devices, such as wearable devices and large screen devices . Please click here watch Developers Conference keynote more information, we will briefly introduce some of the highlights.

Android 12: One of the biggest design updates ever

The first Beta version of Android 12 has been released and contains many cool updates. Including new user security features, such as improved Bluetooth and approximate location permissions; enhanced performance, such as expedited jobs and start-up animation; and a newly designed widget and over-scrolling stretch effect to bring delight This is one of the biggest design updates in Android’s history. Welcome to learn more about the details Android 12 Beta 1, and start preparing your application for the official version to be launched later this year. Install Android 12 Beta on your device today!

Jetpack Compose: Get ready for version 1.0 in July!

In the past few years, we have been working hard to modernize the Android development experience. We listened to your feedback and continued to be open, which is a hallmark of Android. At the same time, we are also clarifying the correct way of doing things. You can see these changes through our tools, such as Android Studio, a high-performance IDE that can keep up with you; Kotlin, a programming language that allows you to do more with less code; and the Jetpack library, which uses To solve the most difficult problems in the field of mobile development, and backward compatibility.

The next step in these efforts is Jetpack Compose , which is our modern UI kit that can easily build beautiful applications for all Android devices. Two years ago, we released Compose at the Google I/O conference and have been building it openly, and we have been listening to everyone’s feedback to ensure that we stay in the right direction. With earlier this year Compose Beta version of the introduction, developers around the world using only the previous half time it created a lot of very beautiful and innovative experience, everyone in #AndroidDevChallenge wonderful Challenge of Development The performance surprised us. Click here to view the Have fun composing! video.

With the upcoming Material You update, we will add new Material components and provide further support for large screen construction, allowing you to quickly and easily build gorgeous user interfaces. We are conducting the final stress test on Compose and will release the 1.0 stable version in July. Please be prepared!

Android Studio Arctic Fox: Design, equipment and developer productivity!

Android Studio Arctic Fox (2020.3.1) Beta is also released today, this is the latest official version of the powerful Android integrated development environment, helping you to build high-quality applications easier and faster. By updating this powerful tool, we can go further in three areas: accelerating UI design, extending applications to new devices, and improving developer productivity. With this new version, you can use Compose tools to create modern UIs, view test results on multiple devices, and use App Inspector to optimize the work of debugging databases and background tasks. We also provide Accessibility Scanner to make your application easier to achieve accessibility experience, and Memory Profiler to optimize application performance. In order to increase the build speed, we released Android Gradle plugin 7.0, new DSL and variant API. Learn more about the Android Studio update here at .

Kotlin: The most common language used by professional Android developers

Our recent survey results show that Kotlin is now the most commonly used development language by professional Android developers. More than 1.2 million apps in the Play Store use Kotlin, and the top 1,000 apps use Kotlin as high as 80%. Developers inside Google also like Kotlin: More than 70 Google apps such as Drive, Home, Maps, and Play use Kotlin. With the new Kotlin native annotation processing solution, the Kotlin Symbol Processing function has also been released today. This is a powerful and simple API that can directly parse Kotlin code and is 2 times faster than development libraries such as Room. .

Android Jetpack: Write functions instead of template code

We have Android Jetpack to help you reduce the template code, so as to focus on the functional code that you care about. Among the top 10,000 apps, more than 84% are using the Jetpack library. Today, more highlights are added to the Jetpack library, including Jetpack Macrobenchmark (Alpha), which can capture large-scale interactions that affect application startup and freezing before your application is released; and a new Kotlin coroutine API: Jetpack DataStore (Beta) , Used to persist data more effectively. You can learn about the update details of Android Jetpack .

Now is the time: a big step for Wear

The best thing about modern Android development is that these tools are designed to help you easily develop for the new era of Android, that is, the devices connected to your mobile phone: TVs, cars, watches, tablets, etc. Work better together.

Today, we in wearable devices taken a big step forward . First of all, we launched a unified platform co-built with Samsung, combining the advantages of Wear and Tizen. Second, we launched a new user experience, including an improved Google app. And, world-class health and fitness services from Fitbit will also log on to this platform. For Android developers, this means that your audience will be larger, and all the skills, tools and APIs that make your mobile apps better can also help you in a single wearable device for users around the world Develop on the platform.

Whether through the new Jetpack API on Wear tailored for small screens to optimize battery life, or Jetpack Tiles API , you can create customized tiles for all devices in the Wear ecosystem. We have prepared many new features to help you build on Wear. new health and fitness API created in cooperation with Samsung, the collection of sensor data and the calculation of indicators are now more concise, consistent and accurate, including heart rate, calories and daily walking distance. These data are all from a trusted source. With the release of Android Studio Arctic Fox Beta, all these new features have been brought together, making it easier to pair test applications, and the simulator even includes a virtual heart rate sensor. We have introduced some major discoverability updates, so when your Wear app is released, it will be easier for users to discover them on Google Play. Here you can read more detailed information about Wear updated . Click the link on the right to view the Android developer story: Spotify on Wear OS video.

further releases the potential of large screens such as tablets, Chrome OS and foldable devices

When it comes to large-screen devices, such as tablets, foldable devices, and Chrome OS laptops, their development momentum is very strong. People rely more on these big screen devices, from keeping in touch with family and friends, to studying in school, or working remotely. In fact, there are currently more than 250 million active large-screen Android devices. Last year, Chrome OS grew by 92% year-on-year, which was 5 times the growth rate of the PC market, making Chrome OS the fastest growing and second most popular desktop operating system. To help you seize this momentum, we provide APIs and tools to make it easier to optimize the large screen experience: For example, by using SlidingpaneLayout 1.2.0 and the new vertical navigation bar component to make your content automatically adapt to larger The maximum width is provided on the component to avoid stretching the UI, and the platform, Chrome OS and Jetpack windowmanager are updated so that the application can run better by default. You can learn more about 160ae23345455e.

△ Google Duo 针对可折叠设备优化的体验

△ Google Duo's optimized experience for foldable devices

The above is just the tip of the iceberg of our efforts, all of which are to make it easier for you to build high-quality Android applications. We will release more than 20 technical presentations on Android and Play, covering background tasks, privacy, machine learning on Android, and 12 tips to help you start developing on Android 12. If you want to develop for cars, TVs and wearable devices, we also have the corresponding content prepared, please go to Google I/O website watch. In addition to speeches and news, at this year's Google I/O conference, there are many interesting ways to interact with Googler and other developers online. You can I/O Adventure , where we have prepared rich content such as blog posts, videos, and Codelabs for you. You can also test your Jetpack Compose skills yourself, or sit in a virtual car in dome to experience it.

Your product feedback and questions are very important to us, welcome to submit feedback to us through the QR code below. Your question may appear in the next FAQ and be answered. thank you for your support!


Android开发者
404 声望2k 粉丝

Android 最新开发技术更新,包括 Kotlin、Android Studio、Jetpack 和 Android 最新系统技术特性分享。更多内容,请关注 官方 Android 开发者文档。