Platform
Android Studio
Google Play
Jetpack
Docs
Blog
Download
What's New
User Guide
Preview
Home
Platform
Android Studio
Download
What's New
User Guide
Preview
Google Play
Docs
Blog
Download a Preview
Install Alongside Stable
New Features
Release Updates
Updates archive
►
2025
2025
(30)
►
四月
四月
(8)
►
三月
三月
(7)
►
二月
二月
(9)
►
一月
一月
(6)
►
2024
2024
(90)
►
十二月
十二月
(7)
►
十一月
十一月
(4)
►
十月
十月
(8)
►
九月
九月
(8)
►
八月
八月
(9)
►
七月
七月
(6)
►
六月
六月
(7)
►
五月
五月
(9)
►
四月
四月
(9)
►
三月
三月
(6)
►
二月
二月
(8)
►
一月
一月
(9)
►
2023
2023
(76)
►
十二月
十二月
(4)
►
十一月
十一月
(9)
►
十月
十月
(7)
►
九月
九月
(8)
►
八月
八月
(3)
►
七月
七月
(4)
►
六月
六月
(6)
►
五月
五月
(10)
►
四月
四月
(4)
►
三月
三月
(7)
►
二月
二月
(9)
►
一月
一月
(5)
►
2022
2022
(59)
►
十二月
十二月
(3)
►
十一月
十一月
(5)
►
十月
十月
(8)
►
九月
九月
(4)
►
八月
八月
(4)
►
七月
七月
(2)
►
六月
六月
(7)
►
五月
五月
(6)
►
四月
四月
(5)
►
三月
三月
(6)
►
二月
二月
(5)
►
一月
一月
(4)
►
2021
2021
(54)
►
十二月
十二月
(3)
►
十一月
十一月
(2)
►
十月
十月
(6)
►
九月
九月
(4)
►
八月
八月
(5)
►
七月
七月
(8)
►
六月
六月
(4)
►
五月
五月
(5)
►
四月
四月
(1)
►
三月
三月
(7)
►
二月
二月
(4)
►
一月
一月
(5)
►
2020
2020
(107)
►
十二月
十二月
(7)
►
十一月
十一月
(3)
►
十月
十月
(8)
►
九月
九月
(6)
►
八月
八月
(11)
►
七月
七月
(14)
►
六月
六月
(10)
►
五月
五月
(12)
►
四月
四月
(11)
►
三月
三月
(11)
►
二月
二月
(6)
►
一月
一月
(8)
►
2019
2019
(145)
►
十二月
十二月
(16)
►
十一月
十一月
(12)
►
十月
十月
(10)
►
九月
九月
(13)
►
八月
八月
(12)
►
七月
七月
(6)
►
六月
六月
(9)
►
五月
五月
(18)
►
四月
四月
(14)
►
三月
三月
(12)
►
二月
二月
(10)
►
一月
一月
(13)
►
2018
2018
(128)
►
十二月
十二月
(13)
►
十一月
十一月
(12)
►
十月
十月
(10)
►
九月
九月
(10)
►
八月
八月
(16)
►
七月
七月
(10)
►
六月
六月
(13)
►
五月
五月
(9)
►
四月
四月
(11)
►
三月
三月
(12)
►
二月
二月
(9)
►
一月
一月
(3)
▼
2017
2017
(48)
►
十二月
十二月
(3)
►
十一月
十一月
(2)
►
十月
十月
(8)
►
九月
九月
(3)
►
八月
八月
(4)
▼
七月
七月
(3)
Android Studio 3.0 Canary 8 is now available
Android Studio 3.0 Canary 7 is now available
Android Studio 3.0 Canary 6 is now available
►
六月
六月
(3)
►
五月
五月
(4)
►
四月
四月
(5)
►
三月
三月
(5)
►
二月
二月
(6)
►
一月
一月
(2)
►
2016
2016
(5)
►
十二月
十二月
(3)
►
十一月
十一月
(2)
Subscribe to updates
博文
Atom
博文
Android Developers
Android Studio
Preview
Release Updates
Android Studio 3.0 Canary 7 is now available
2017年7月17日星期一
We have released Android Studio 3.0 Canary 7 to the Canary and Dev Channels.
Changes
Specify matching build types
. If a consumer (such as an app module) defines a build type that does not exist in a producer dependency (such as a library module), the variant-aware dependency resolution model won’t know which version of the producer to use and your build fails with the following error:
Error:Failed to resolve: Could not resolve project :mylibrary.
Required by:
project :app
You can now specify an alternative build type the consumer should use from the producer using the
android.buildTypeMatching
property as shown below. The plugin uses the alternative build type only if a matching build type is not found.
android {
…
// Let’s say your app configures a ‘staging’ build type and a library module
// it depends on does not. You can use the property below to tell the Android plugin
// to use a library’s ‘debug’ build type instead.
buildTypeMatching ‘staging’, ‘debug’
}
Fixes
We had a number of fixes make it into this build a few reported by our external users include:
63623801
ResourceNotFoundException running Kotlin project on API 16 AVD after upgrading to Canary 6
37111818
Layout Editor cannot edit widget margins in RelativeLayout
63252394
Android studio 3.0 canary build variants auto resolving error
Our primary focus at this stage is to stabilize Android Studio 3.0 to a beta quality release. Please keep sending your feedback by clicking Help > Submit Feedback.