Google releases first preview of Android Studio 3.0 with faster build speeds and better diagnostics
Google announced the first preview build of Android Studio 3.0 via its Android Developers blog. The new version comes with more than 20 improvements, but Google has focused on three main features: “a new suite of application performance profiling tools to quickly diagnose performance issues, language support for Kotlin programming and increased Gradle build speeds for large application sized projects.
Starting with app diagnostics, the Android team has released a new tool called “Android Profiler” to provide developers with real-time insight into the CPU, memory and network activity of their device(s). ) app(s). This shows up on a timeline of events that also maps things like key presses and activity changes to help developers better understand what’s happening during different states of the app. Looks like it could be invaluable.
Additionally, Studio 3.0 now has the ability to “debug an arbitrary APK”, which Google says would be “particularly useful for those developing [their] Android C++ code in another development environment, but want to debug and analyze the APK in the context of Android Studio. This is another simple idea that might save some headaches.
Build speeds have been increased with the new Android and Gradle plugin with features like “incremental dexification” (class-level dexification for faster incremental builds) and “improved incremental resource processing”.
Android Studio 3.0 also fully supports the Java-based and statically typed Kotlin programming language. We covered that in yesterday’s announcement – which you can read more about here – but if you want to know more about how Kotlin compares to Java itself, there are a few. good ideas on this link.
Android 8 review: Oreo is for everyone
Finally, Android Studio 3.0 now supports instant apps for all developers (it was previously limited to a small number). This is the feature that allows app developers to embed functionality into websites so that users can access them directly from search results. It looks like this will be a big deal: learn more about it here.