Emulator 28.1.8 Canary 发布,Android 模拟器

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

内容简介: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.

发布公告


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

查看所有标签

猜你喜欢:

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

Python Algorithms

Python Algorithms

Magnus Lie Hetland / Apress / 2010-11-24 / USD 49.99

Python Algorithms explains the Python approach to algorithm analysis and design. Written by Magnus Lie Hetland, author of Beginning Python, this book is sharply focused on classical algorithms, but it......一起来看看 《Python Algorithms》 这本书的介绍吧!

URL 编码/解码
URL 编码/解码

URL 编码/解码

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具