Emulator 28.0.10 Canary
- Fixed an issue where the emulator would sometimes incorrectly report "Guest hasn't come online" if the currently running app lacked animation.
CMake version 3.10.2: CMake version 3.10.2 is now included with SDK Manager. Note that Gradle still uses version 3.6.0 by default. To specify a CMake version for Gradle to use, add the following to your main module’s build.gradle
file:
android { ... externalNativeBuild { cmake { ... version "3.10.2" } } }
renderscriptSupportModeEnabled
set to true
, you do need to include the following in each module's build.gradle
file: android.buildToolsVersion "28.0.3"
compileOptions
via the following syntax:compileOptions { sourceCompatibility = JavaVersion.VERSION_1_8 targetCompatibility = JavaVersion.VERSION_1_8 }
gradle.properties
file:android.enableSeparateAnnotationProcessing=true
Android App Bundles now support Instant Apps: Android Studio now includes support for building Android App Bundles with full support for Instant Apps. In other words, you can now build and deploy both installed app and Instant App experiences from a single Android Studio project, and include them in a single Android App Bundle.
If you’re creating a new Android Studio project using the Create New Project dialog, make sure you check the box next to Configure your project > This project will support instant apps. Android Studio then creates a new app project as it normally would, but includes the following properties in your manifest to add instant app support to your app’s base module:
<manifest ... xmlns:dist="http://schemas.android.com/apk/distribution"> <dist:module dist:instant="true" /> ... </manifest>
You can then add dynamic feature modules that are instant app-enabled by selecting File > New > New Module from the menu bar and then selecting Instant Dynamic Feature Module from the Create New Module dialog.
If you already have a project that supports Dynamic Delivery, you can still add instant app-enabled dynamic features using the New Module wizard, as described above. However, keep in mind that doing so also enables instant app support for your app’s base module.
To deploy your app to a local device as an instant app, edit your run configuration and check the box next to General > Deploy as instant app.
Support for Clang-Tidy: Android Studio now includes support for static code analysis using Clang-Tidy for projects that include native code. To enable support for Clang-Tidy, you need to update your NDK to r18 or higher.
You can then enable or re-enable the inspections by opening the Settings or Preferences dialog, navigating to Editor > Inspections > C/C++ > General > Clang-Tidy. When selecting this inspection in the Settings or Preferences dialog, you can also see the list of Clang-Tidy checks the IDE enables and disables by default under the Option section of the right-most panel. To enable additional checks, simply add them to the list and click Apply.
To configure Clang-Tidy with additional options, click Configure Clang-Tidy Checks Options and add them in the dialog that opens.
java.lang.NoSuchMethodError
when previewing a customized date./.idea/caches
path in .gitignore
.dp
unit value in both the Layout Editor and the corresponding XML.gradlew clean
command was occasionally failing.android:fontFamily
."Manifest merger failed"
and "Failed to resolve"
errors occurred when using design libraries.