简体   繁体   English

在Nexus设备上安装Android棉花糖

[英]Installing Android Marshmallow on a Nexus device

I want to test out my app on a device running Marshmallow. 我想在运行棉花糖的设备上测试我的应用程序。 From my understanding, this should be possible on a Nexus 5, 6 or 9 device. 据我了解,在Nexus 5、6或9设备上应该可以实现。 To install this, do you have to use the update feature on the device to get the newest version or can you use the Android SDK to install an image? 要安装此版本,是否必须使用设备上的更新功能以获取最新版本,还是可以使用Android SDK安装映像?

This is documented at length in the M preview documentation . 这在M预览文档中有详细记录

At a high level: 在高层次上:

  1. Download the appropriate system image here . 在此处下载适当的系统映像
  2. Reboot into the bootloader with adb reboot bootloader 使用adb reboot bootloader重启进入adb reboot bootloader
  3. Run fastboot oem unlock 运行fastboot oem unlock
  4. Navigate to wherever you unzipped the system image and run flash-all 导航到您解压缩系统映像的任何位置并运行全flash-all
  5. Run fastboot oem lock 运行fastboot oem lock

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM