目前需要使用Android Studio 2.4 canary,下载地址:
https://developer.android.com/studio/preview/index.html
下载链接(可使用迅雷下载):
https://dl.google.com/dl/android/studio/ide-zips/2.4.0.2/android-studio-ide-171.3829324-windows.zip
Select the latest canary download
|
然后打开SDK Manager下载对应的文件(用于开发和运行虚拟机)
System Image文件下载(用于刷机):
https://developer.android.com/preview/download.html
| Download a system image for Developer Preview 1.
|
修改App的build configuration文件:
| 我们不能发布带此configuration文件的app。 Update and the Support Library version with the following versions: android {
compileSdkVersion 'android-O'
buildToolsVersion '26.0.0-rc1'
defaultConfig {
targetSdkVersion 'O'
}
...
}
dependencies {
compile 'com.android.support:appcompat-v7:26.0.0-alpha1'
}
|
目前无论那个level的API都支持下面的Broadcast:
https://developer.android.com/preview/features/background-broadcasts.html
API 25 -> API O 的diff:
https://developer.android.com/sdk/api_diff/o-dp1/changes.html
本文提供Android Studio 2.4 Canary版本的下载链接及SHA-256校验码,适用于Windows、Mac和Linux平台,并指导如何配置最新版本的SDK和系统映像文件。

525

被折叠的 条评论
为什么被折叠?



