New features for Android Studio 3.0

Source: Internet
Author: User
Tags android sdk manager

    • Kotlin Integration
    • Build based on Idea 2017.1 version
    • Support for Android O
    • Support for the JAVA8
    • New Android Gradle Plugin
    • Google ' s Maven repository
    • New Android Profiler
    • APK Debugger
    • New Device File Browser
    • Instant Apps Support
    • Layout Editor Improvements
    • New Android Tings templates
    • Layout Inspector Improvements
    • APK Analyzer Improvements
    • New Android Emulator features
Kotlin Integration

Create engineering interface more include Kotlin support

<!--more-->

The activity created by this screen after the tick is created directly by Kotlin

The activity's language can also be selected in the subsequent creation of the Activity window.

Of course, the Java class is directly converted to Kotlin this plugin

Build based on Idea 2017.1 version
    • Support Method parameter hint

    • Support for displaying different colors by parameter arrangement

    • Effect after opening

    • Version control joins the direct resolution button

More Features

Support for Android O
    • You can open fonts and support details for font XML directly
    • Downloadable fonts that Google offers can be downloaded directly
    • New Launcher Rule Support details
Support for the JAVA8

Using the new bytecode conversion technology, Desugar. Enables some JAVA8 features to be supported to any API, such as

    • Lambdas
    • Method References Details
    • Default and Static interface methods (interface defaults implementation and static method)
    • Try-with-resouces Details
    • Type and repeating annotations (types annotations and repeating annotations)

Using the method is simple, add this

New Android Gradle Plugin

The new Android Gradle plugin is designed to solve a large number of module compilation problems with the following features

    • Defer resolution of dependencies for faster configuration
    • Mutation aware (Variant-aware) dependent solutions only apply to the projects and variants you are building
    • Faster incremental build time when simple changes are applied to code or resources

To achieve these improvements, plug-in behavior, DSL and API have some groundbreaking changes. This affects the build file and the Gradle plugin. For instructions on how to migrate your own projects to use this plugin, see Migrating to a new plugin

Google ' s Maven repository

Android Support Library maven dependencies can now be used outside of the Android SDK manager in the new MAVEN repository. Combined with the command line Sdkmanager tools and Gradle, this new distribution method simplifies Maven dependency management using a continuous integration system, using a new Maven repository, Please add the URL to the repository library of the Build.gradle file as follows:

repositories {  maven {    url "https://maven.google.com"  }}

See Google Maven and offline repositories for details

New Android Profiler

Note: This item only supports API 21 or above

Including

    • CPU Analyzer
    • Memory analyzers
    • Network analyzer

Where the network debugger directly supports volley and okhttp

As part of this update, LOGCAT has been moved to a separate window.

APK Debugger

Can directly let you debug the debug apk without project source code. The entrance is as follows

New Device File Browser

Instant Apps Support

Android Studio 3.0 allows you to create instant applications using two new module types, instant application modules and function modules, in your project.

Android Studio 3.0 also includes a new refactoring modular operation and app Links Assistant to help you implement instant apps. For more information about Instant apps, see Android Instant apps.

Layout Editor Improvements

The layout editor in Android Studio 3.0 includes a number of new feature enhancements, including

    • Updated component tree, improved drag-and-drop view insertion
    • New error panel
    • Provides new support for viewing fences and groups
    • Enhanced chain creation
New Android Tings templates

Android Studio 3.0 includes a new set of templates in the new project and new module wizards, so you can start using Android things to develop IoT devices. For more information, see Android things.

Layout Inspector Improvements

Includes grouping properties into general categories and grouping new search features in the view tree and properties panels

APK Analyzer Improvements
    • Show fields outside of previously available packages, classes, and methods
    • New filtering options for displaying and hiding fields and methods at the top
    • In the tree view, the nodes that are displayed in italics are references that are not defined in the Dex file
    • For apk with Proguard build enabled, you can load the Proguard mapping file that adds functionality to the Dex Viewer, including:
      • The bold node indicates that the node should not be deleted when the code is zoomed out
      • Enable a button to make the deleted node visible during the shrink (shrinking) process
      • Enables a button to restore the original name of the node that was confused by Proguard in the tree view
New Android Emulator features
    • The new API level 24 system image and Android O beta system image, including the Google Play Store, facilitates end-to-end testing of your app and helps you keep the Google Play service in sync with your AVDS.

    • Supports OpenGL ES 3.0 system image API level 24 and later on Windows and Linux machines, and significantly improves OpenGL ES 2.0 graphics performance on older emulator system images.

      Note: We are currently trying to automatically enable OpenGL ES 3.0 for all modern GPUs from Intel, Nvidia and AMD, and if you run into an issue with OpenGL ES 3.x applications, the system may not be enabled automatically. You can add the following line to ?/ .android / advancedFeatures.ini the File to manually enable OpenGL ES 3.0

 GLESDynamicVersion = true
    • A new and simpler way to generate error reports for your app from the Android emulator.
    • A new link to quickly submit an emulator-related error to the Android team on the Android issue tracker (click Emulator Toolbar > Extended controls > Help > Emulator Help > File errors).
    • A new UI for configuring the proxy settings used by the Android emulator. To configure the proxy settings for your Android emulator, click Extended Controls > Settings > Proxy.
    • New support for the knob input of Android Wear devices on the simulator for more information about Android emulator updates, see the Android emulator release notes.

New features for Android Studio 3.0

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.