阿里宣布 Atlas 开源👍,Android系统上的容器化框架

atlas_core 请先使用atlas-core jcenter.bintray.com/com/taobao/… bintray故障修复中

A powerful Android Dynamic Component Framework.

Atlas is an Android client-side containerization framework. we call it android dynamic component framework.

Atlas provides decoupled, component, and dynamic support. Atlas covers various issues in the project coding period, Apk run-time and follow-up operation and maintenance.

In the project period, Atlas enable engineers independent development, independent debug, because their project were physical isolation.

In the apk run-time, Atlas has complete component life cycle, class isolation and other mechanisms.

In the operation and maintenance period, Atlas provide rapid incremental update and rapid upgrade capacity.

Atlas put the work into the project period as much as possible, to ensure runtime simple and stable, maintenance easy.

Compared with multidex solution, Atlas not only solved the limitation of the method count(65535), but also clarified the boundary of development, provied the powerful capabilities for Android development, such as Parallel Iteration, Rapid Development, Flexible Release, Dynamically Update, Quick Fix Online Failure.

Unlike some Android plugin frameworks, Atlas is a component framework (we call it Bundle), Atlas is not a multi-process framework.

You can see there were three main library in this project (atlas-core/atlas-update/atlas-gradle-plugin)

  • atlas-core: This is client-side core library, it’s job is to install each bundle, load the classes and resources on-demand when runtime.
  • atlas-update: This is client-side update library, which provide dexmerge capacity for update or upgrade.
  • atlas-gradle-plugin: This is Android Studio Gradle Plugin for engineers developing in project period, because we change some android default package mechanisms, include android aapt atlas-aapt.

Use Atlas

Support

Atlas support all Android version from Android 4.0 to 7.0.

Follow is support status.

RuntimeAndroid VersionSupport
Dalvik2.2Not Test
Dalvik2.3Not Test
Dalvik3.0Not Test
Dalvik4.0-4.4Yes
ART5.0Yes
ART5.1Yes
ARTMYes
ARTNYes

Contributing

See Atlas Contributing Guide for more information.

    原文作者:Android
    原文地址: https://juejin.im/entry/58c613010ce46300547840b9
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞