ReDex is an Android bytecode (dex) optimizer originally developed at Facebook. It provides a framework for reading, writing, and analyzing .dex files, and a set of optimization passes that use this framework to improve the bytecode. An APK optimized by ReDex should be smaller and faster than its source. Redex provides a framework for reading, writing, and analyzing .dex files, and a set of optimization passes that use this framework to improve the bytecode. An APK optimized by Redex should be smaller and faster. Fewer bytes also means faster download times, faster install times, and lower data usage for cell users. Lastly, less bytecode also typically translates into faster runtime performance. Redex has deep integration with Buck where your Redex config is passed as a parameter to the Buck android_binary rule when generating the APK.

Features

  • Buck Integration
  • We use package managers to resolve third-party library dependencies
  • Optionally, you can run our unit test suite
  • If you want some statistics about each pass, you can turn on tracing
  • The MSYS2 build relies on CMake
  • Some ReDex tests require a Java environment and Android compiler tooling

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow ReDex

ReDex Web Site

You Might Also Like
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of ReDex!

Additional Project Details

Operating Systems

Android, Linux, Mac, Windows

Programming Language

C++

Related Categories

C++ Build Tools, C++ Frameworks

Registered

2021-09-30