Mobile Development 5 min read

Didi’s VirtualAPK: An Open‑Source Android Plugin Framework for Dynamic Feature Delivery

Didi’s newly open‑source VirtualAPK framework lets Android apps deliver new features, hot‑fixes, and experimental functionality instantly through modular plugins, offering full component support, minimal intrusion, easy host‑resource access, and broad device compatibility—overcoming the limitations of existing plugin solutions for rapid, reliable business updates.

Didi Tech
Didi Tech
Didi Tech
Didi’s VirtualAPK: An Open‑Source Android Plugin Framework for Dynamic Feature Delivery

On June 30, Didi announced its first open‑source project, VirtualAPK, a plugin‑based framework that enables enterprises to release new features, fix critical crashes, or conduct rapid business "trial‑and‑error" by simply updating plugins.

VirtualAPK offers four core advantages: comprehensive functionality, minimal intrusion, easy access for plugins to host code and resources, and high compatibility across devices.

The framework supports all four Android components and virtually every Android feature, allowing plugin development to be identical to native Android development. It has been internally validated with dense device‑type adaptation and stable operation, meeting Didi’s dynamic release needs for some or all of its services.

Developers can view the project’s documentation and source code on GitHub ( https://github.com/didi/VirtualAPK ) or on Didi’s open‑source platform ( https://didi.github.io ).

Traditional app release cycles often follow fixed intervals (e.g., bi‑weekly or monthly). When a new version introduces many crashes, companies typically issue an urgent hot‑fix, which can damage user experience. Start‑ups that need rapid market validation may require multiple releases per day, which is impractical with conventional processes.

VirtualAPK addresses these challenges by modularizing business logic into plugins, allowing instant updates for crash fixes or experimental features without a full app redeployment.

Although many open‑source plugin frameworks exist, Didi chose to develop its own because most alternatives lack comprehensive functionality (e.g., many only support Activity), suffer from severe compatibility issues with heavily customized Android ROMs, and do not fit Didi’s business scenario where plugins must interact with host services such as orders, location, and accounts.

Consequently, VirtualAPK provides a complete, highly compatible solution suitable for tightly coupled business plugins, and is regarded by industry experts as a leading open‑source choice for loading such plugins.

The content is presented by Didi’s Effectiveness Platform Department, which is responsible for key project delivery management, toolchain construction, internal information platforms, and engineering culture.

Mobile DevelopmentAndroidopen-sourceDynamic ReleasePlugin FrameworkVirtualAPK
Didi Tech
Written by

Didi Tech

Official Didi technology account

0 followers
Reader feedback

How this landed with the community

login Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.