BoostMultiDex is a specialized Android-library created by ByteDance to address a long-standing performance and user-experience problem on older Android devices (specifically Android 4.x and below, i.e. SDK < 21), where loading multiple dex files after installation or upgrade can lead to extremely long “black-screen” freeze times during first startup. Instead of relying on the standard Android MultiDex mechanism, BoostMultiDex reworks the loading strategy by tapping into hidden Dalvik VM internals so that original DEX bytecode can be loaded directly, bypassing costly ODEX generation. It adopts a multi-stage loading approach (DEX bytecode → DEX file → ODEX file) to pick the fastest viable route at runtime, and optionally performs optimization (OPT) in a separate process with interruption/recovery support — minimizing startup time and preserving stability.

Features

  • Direct loading of original DEX bytecode to avoid costly ODEX generation
  • Multi-stage load path (bytecode → DEX → ODEX) to choose fastest runtime scenario
  • Separate-process optimization (OPT) with capability to interrupt and resume safely
  • Significant reduction (up to ~80% or more) of black-screen / cold-start time on first launch / upgrade
  • Seamless integration: simple drop-in install via Gradle and initialization in Application.attachBaseContext
  • Compatibility with wide range of legacy Android devices (SDK < 21), enabling support for older, low-end phones

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow BoostMultiDex

BoostMultiDex Web Site

Other Useful Business Software
Build Securely on Azure with Proven Frameworks Icon
Build Securely on Azure with Proven Frameworks

Lay a foundation for success with Tested Reference Architectures developed by Fortinet’s experts. Learn more in this white paper.

Moving to the cloud brings new challenges. How can you manage a larger attack surface while ensuring great network performance? Turn to Fortinet’s Tested Reference Architectures, blueprints for designing and securing cloud environments built by cybersecurity experts. Learn more and explore use cases in this white paper.
Download Now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of BoostMultiDex!

Additional Project Details

Operating Systems

Android

Programming Language

Java

Related Categories

Java Artificial Intelligence Software

Registered

2025-12-02