Emulator 28.1.8 Canary 发布,Android 模拟器

栏目: IOS · Android · 发布时间: 6年前

内容简介:Emulator 28.1.8 Canary 发布了,目前可以在Canary 和 Dev channels 使用,该版本更新如下:Project Marble:

Emulator 28.1.8 Canary 发布了,目前可以在Canary 和 Dev channels 使用,该版本更新如下:

Project Marble:

  • There are no direct improvements to CPU/RAM usage in this build, though there are the following compatibility and quality changes:

  • Headless emulator build.When using the emulator for CI, it can be hard to set up due to implicit expectations of the system being able to support Qt along with its shared library dependencies (among other issues).

    • As a first step to address this, we've introduced a variant of the emulator launcher plus QEMU executables that do not depend on Qt. On Linux, there is a remaining link to libX11, but we hope to remove that soon as well.

    • To use the headless emulator, run the emulator from the command line as usual, but replace the emulator binary invocation with emulator-headless. We also provide a review other command line options that can be useful for running in such an environment:

    • $ANDROID_SDK_ROOT/emulator/[emulator|emulator-headless] -avd avdName [-gpu [swiftshader_indirect|host]] [-no-snapshot[-save|-load]] [-read-only] [-no-accel] [-no-window]

      • emulator versus emulator-headless:

        • emulator: Run standard emulator with UI if possible. Qt libraries and their dependencies are linked.

        • emulator-headless: Run emulator without UI. Qt and its dependencies are not included. For now, only kernels on x86_64 and aarch64 are supported. Though, this should cover all x86 system images, x86_64 or not, back to API 27.

      • -gpu option:

        • swiftshader_indirect: Use Swiftshader software renderer, which is the most portable across setups.

        • host: If the machine has a hardware GPU accessible, use host.

      • -no-snapshot:

        • Cold boot and exit without saving a snapshot.

      • -no-snapshot-save:

        • Boot from the last snapshot, if any, but exit without saving a snapshot.

      • -no-snapshot-load:

        • Cold boot and save a snapshot on exit.

      • -read-only:

        • Boot from the last snapshot, if any, and allow multiple simultaneous invocations of the emulator launcher on the same AVD. No snapshots are saved on exit and changes to disk are discarded.

          • If booting from a snapshot, memory is also shared in a copy-on-write manner between AVD instances, which can save memory.

      • -no-accel:

        • This can be useful if the environment does not support virtualization which can be common in Jenkins environments.

      • -no-window:

        • This can be used in conjunction with the normal emulator launcher if Qt libraries are not an issue. Otherwise, run with emulator-headless; the behavior should be identical.

  • Quickboot regression fix.Fixed Quickboot not working with -no-window / headless mode.

  • Landscape frameless mask fix.Fixed wrong masking when frameless AVDs were booted with 'landscape' initial orientation.

  • Qt 5.12.Upgraded Qt libraries to Qt 5.12 LTS.

发布公告


以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

Google API开发详解

Google API开发详解

江宽,龚小鹏等编 / 电子工业 / 2008-1 / 59.80元

《Google API开发详解:Google Maps与Google Earth双剑合璧》从易到难、由浅入深、循序渐进地介绍了Google Maps API和Google Earth API的开发技术。《Google API开发详解:Google Maps与Google Earth双剑合璧》知识讲解通俗易懂,并有大量的实例供读者更加深刻地巩固所学习的知识,帮助读者更好地进行开发实践。 《Go......一起来看看 《Google API开发详解》 这本书的介绍吧!

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

html转js在线工具
html转js在线工具

html转js在线工具

HSV CMYK 转换工具
HSV CMYK 转换工具

HSV CMYK互换工具