1.背景说明
Android P版本中伴随很多机制和新增特性的改变,对自研以及第三方应用带来了很多兼容性问题。本文档第一章主要介绍谷歌P版本开发环境搭建以及调试相关介绍;第2章节主要是对P版本兼容性现状一些摸底测试情况以及问题分类;第3章节主要是O版本一些特性介绍以及应用适配P版本的一些开发指导
1.1 Android P版本里程碑

1.2 刷机指导
版本下载:https://developer.android.com/preview/download.html
刷手机的方法(刷机前需要退出之前登录的谷歌账号):
1.下载对应设备的压缩包并解压;
2.手机连上USB后,执行adb reboot bootloader命令;
3.等手机出现小机器人以后,并且显示‘unlock’字样时,执行压缩包中的bat脚本。
如果是“lock”字样:
1.连续点击设置-版本号3次,打开开发人员选项;
2.在开发人员选项中打开OEM unlock;
3.连接手机到电脑,执行adb reboot bootloader命令到小机器人界面;
4.执行fastboot oem unlock,这样手机就解锁了,再使用上面的刷机方法即可。
1.3 P版本开发环境搭建
安装和配置AndroidP SDK和模拟器,参考:https://developer.android.com/preview/setup-sdk.html
2.Google P版本新特性和行为变更介绍
2.1 官网介绍
1.P版本新特性详情请见:https://developer.android.com/preview/features.html
2.P版本行为变更详情请见:https://developer.android.com/preview/behavior-changes.htm







网友评论