AndroidLibXrayLite is a lightweight Android library that bundles the Xray networking core as an embeddable component for apps. Its purpose is to provide a minimal, size-optimized build of the native core with a clear Java/Kotlin interface to start, stop, and configure network tunnels. By exposing the core as an AAR with per-ABI artifacts, it keeps application footprints small while supporting common CPU architectures. The library abstracts process management and log streaming so host apps can control lifecycles and capture diagnostics. It’s particularly useful for developers who want to integrate secure, rule-based proxying into their own Android apps without re-implementing the native glue. With a focus on stability and easy updates, it shortens the path from concept to a working in-app networking stack.
Features
- Embeddable AAR exposing Xray core to Android apps
- Start/stop APIs and config injection for programmatic control
- Split per-ABI artifacts for smaller downloads and installs
- Log streaming and callbacks for monitoring and diagnostics
- Minimal surface area designed for stability and easy upgrades
- Suitable foundation for custom Android proxy or privacy apps