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
Full-stack observability with actually useful AI | Grafana Cloud Icon
Full-stack observability with actually useful AI | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
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