Tagged articles
DEX
36 articles · Page 1 of 1
This article analyzes Hyperliquid's zero‑gas design, explaining how its custom high‑performance Layer 1 architecture internalizes costs and rewards validators through token inflation, trading‑fee sharing, and MEV opportunities, creating a sustainable economic loop for network security.
Blockchain EconomicsDEXHyperliquid
0 likes · 7 min read

This guide walks beginners through Hyperliquid’s decentralized derivatives platform, covering wallet connection, USDC funding, detailed UI components like candlestick and volume charts, order book, trading controls, account overview, and practical tips to confidently place trades.
DEXGuideHyperliquid
0 likes · 8 min read

This article examines the technical evolution from traditional order‑book decentralized exchanges to automated market makers, comparing their mechanisms, advantages, challenges, and the emerging hybrid models that shape the future of DeFi liquidity.
AMMDEXDeFi
0 likes · 9 min read

This article breaks down the technical foundations of DeFi, explaining how smart contracts enable decentralized exchanges, comparing order‑book and automated market‑maker architectures, and detailing supporting components such as oracles, stablecoins, and lending protocols with concrete examples and formulas.
AMMBlockchainDEX
0 likes · 11 min read

Running a decentralized exchange requires extensive pre‑launch development, rigorous security audits, robust front‑end design, tokenomics planning, and continuous post‑launch operations such as infrastructure maintenance, security monitoring, liquidity management, and community governance.
Community GovernanceDEXDeFi
0 likes · 7 min read

This article explains how decentralized exchanges use a constant‑product AMM model that makes prices slide, why users must set slippage tolerance, and how MEV sandwich attacks exploit that tolerance to extract value.
AMMBlockchainDEX
0 likes · 7 min read

After upgrading Kuaishou's Android project from AGP 3.4.2 to 7.0.1, the APK size unexpectedly grew despite faster builds, leading to a deep investigation of Dex compression, R8 changes, and build tool versions, ultimately revealing a fastutil library mismatch that was resolved by forcing the correct version.
AGPAPK sizeAndroid
0 likes · 16 min read

The article details how Android developers can protect APK dex files by progressively hardening code—using dynamic loading, hooking, instruction extraction, java‑to‑C++ conversion, and ultimately DEX‑VMP virtual machine encryption—while outlining implementation steps, custom opcodes, JNI integration, and addressing compatibility and performance trade‑offs.
AndroidDEXSecurity
0 likes · 17 min read

The paper presents a DEX‑VMP scheme that encrypts Dalvik bytecode and executes it via a custom virtual machine and JNI bridge, merging the strengths of dynamic loading, hooking, instruction extraction, and java‑to‑C++ conversion while highlighting compatibility issues, performance overhead, and the need for selective protection of high‑value Android methods.
AndroidDEXJNI
0 likes · 17 min read

This article explains how WeChat Android moved from Proguard to R8, detailing the performance and size gains, the new build workflow, the numerous optimization pitfalls encountered, and the concrete fixes applied to ensure stable releases and smaller Tinker patches.
AndroidBuild OptimizationDEX
0 likes · 27 min read

In the second part of Baidu’s APK‑size‑optimization series, the team uses the Titan‑Dex framework to strip unnecessary build‑type and system Dex annotations—such as generic signatures and class‑relationship metadata—while automatically generating a whitelist via custom Lint detectors, ultimately shrinking the final Dex by about 1.2 MB.
AndroidAnnotation OptimizationDEX
0 likes · 14 min read

This article details Baidu's systematic approach to reducing Android APK size by analyzing Dex annotation types, defining removal targets, implementing a Titan‑Dex based optimizer, and automating detection and whitelist management with custom Lint rules, ultimately saving about 1.2 MB of Dex bytecode.
AndroidAnnotation OptimizationDEX
0 likes · 14 min read


58 TechNov 3, 2022 · Mobile Development
This article explains the fundamentals of Android pluginization, covering class loading, resource handling, Dex and OAT formats, security considerations, and presents a lightweight plugin framework used by 58.com to reduce app size and enable dynamic updates.
AndroidClassLoaderDEX
0 likes · 30 min read

The article explains that Android TV plugins can crash on Android 9 when the ART runtime inlines methods across dex files after an upgrade, and proposes a build‑time fix that scans for vulnerable call sites and injects lightweight try‑catch code to disable inlining, eliminating the crash.
ARTAndroid TVDEX
0 likes · 17 min read

This article examines Android Dex DebugInfo line‑number optimization, detailing the structure of DebugInfo, existing solutions, Baidu’s mapping‑based approach, R8 and Alipay techniques, and the resulting APK size reduction, while also describing the end‑to‑end pipeline for line‑number retracing in production.
APKSizeReductionAndroidDEX
0 likes · 23 min read

The article explains why reducing APK size improves download conversion and performance, then details a systematic, divide‑and‑conquer approach for Baidu App that trims Dex, resources, native libraries and ZIP overhead using tools such as R8, AndResGuard, ByteX, Booster and AGP, achieving a reduction from roughly 123 MB to 115 MB with up to 6 MB saved per batch and outlining plans to open‑source the utilities.
APK OptimizationAndroidDEX
0 likes · 17 min read

The article explains the Android Dex format, its compact bytecode advantages, how d8 generates Dex files, details each structural component—from header and ID tables to class data and bytecode—covers encoding schemes, endianness, and demonstrates inspection with the dexdump tool for deeper ART understanding.
ARTAndroidD8
0 likes · 9 min read

The article explains how Baidu’s Dex line-number optimization replaces original line numbers with compact PC-based mappings, unifies debug_info_items, and uses a server-side mapping file to shrink DebugInfo by roughly 8% of the Dex size while keeping stack-trace line numbers fully recoverable.
AndroidDEXDebugInfo
0 likes · 25 min read

The Baidu App team applied a systematic, sustainable approach—combining Dex, resource, and native‑library optimizations with tools such as R8, ProGuard, AndResGuard, and custom compression pipelines—to shrink the APK by several megabytes, improve download conversion, and establish reusable mechanisms for future builds.
APKAndroidDEX
0 likes · 20 min read

This article introduces DexInjector, a tool for directly instrumenting Android APK dex files to insert logging, performance monitoring, and third‑party hooks without recompiling, explains the underlying technical research, design choices, implementation details, handling of method limits, string jumbo, obfuscation, class conflicts, and provides code examples and workflow diagrams.
APKAndroidDEX
0 likes · 23 min read

This guide shows how to configure KubeSphere’s multi‑tenant authentication by integrating Dex as an OIDC provider with GitLab, covering Dex installation via Helm, customizing values, updating KubeSphere’s cluster configuration, and verifying the new “Login via Dex” flow.
AuthenticationDEXGitLab
0 likes · 12 min read

The platform optimizes Android APK size by shrinking resources, compressing images, filtering native libraries, and applying selective byte‑code reductions, then continuously monitors package composition, trends, and business‑line usage, alerting teams to abnormal growth while preserving functionality for large‑scale apps.
APKAndroidDEX
0 likes · 13 min read

This article provides a comprehensive overview of Android app hardening methods, detailing the evolution from first‑generation dex and so protection to advanced code virtualization, and outlines various unpacking (脱壳) techniques—including memory dump, dynamic debugging, hook‑based and custom ROM approaches—used to bypass these protections.
AndroidDEXFrida
0 likes · 11 min read

The article explains Android’s DEX compilation flow, the transformation of DEX into VDEX and ODEX during ART pre‑optimization, why ODEX lacks the original classes.dex causing ARouter routing failures, and how disabling dex stripping in the build restores the missing classes for stable navigation.
ARTARouterAndroid
0 likes · 12 min read

This article explains why Android hot‑fixes are needed, describes the structure and generation of class and dex files, compares popular hot‑fix frameworks such as Tinker and AndFix, and provides practical guidance on integrating and managing hot‑fix solutions in mobile apps.
ClassLoaderDEXHotfix
0 likes · 12 min read

This article explains how to use Python to analyze Android APK packages, extract basic statistics, identify optimizable resources such as oversized images, duplicate files, and unused assets, and provide data‑driven guidance for reducing APK size and improving distribution efficiency.
APKDEXPython
0 likes · 22 min read

This article provides an in‑depth examination of Android's ClassLoader architecture, explaining how BaseDexClassLoader.findClass() and ClassLoader.loadClass() locate and load classes, with step‑by‑step source code analysis of loadClass, findLoadedClass, findClass, DexPathList, DexFile, and native class definition processes.
AndroidClassLoaderDEX
0 likes · 11 min read

The article explains what a Dex file is, how it is produced from Java .class files via the dx tool after JVM compilation, and why understanding Dex is crucial for Android tasks such as APK slimming, hot‑fixes, plugin architecture, app hardening, reverse engineering and overcoming the 64K method limit.
AndroidAndroid RuntimeDEX
0 likes · 13 min read

This article explains the origin of Android's 64K method limit, how it varies across OS versions, and evaluates several approaches—including Google Multidex, asynchronous child‑process loading, plugin architectures, and lazy loading—to help developers choose the most suitable solution for their app.
DEXMultidexandroid-versions
0 likes · 8 min read

The article analyzes Android ART's method‑inlining optimizations, explains how they interfere with popular hot‑patch frameworks like Tinker, and describes the practical workarounds Tinker adopted to maintain patch compatibility while mitigating performance impacts.
ARTAndroidDEX
0 likes · 12 min read

After Facebook open‑sourced Redex, we explored its many optimizations and pitfalls, focusing on Interdex to reorder classes in the main dex, uncovering how class pre‑verification and hot‑patch instrumentation affect cold‑start performance, and sharing practical insights and remaining challenges for Android apps.
AndroidDEXInterdex
0 likes · 15 min read

This article reviews the evolution of Android hot‑patch technologies, compares major solutions such as Dexposed, AndFix, Qzone, and WeChat’s own Tinker, and explains when and how to apply hot patches for lightweight updates, remote debugging, and data‑driven testing.
AndroidDEXTinker
0 likes · 15 min read

The article walks through Android Gradle’s three‑phase build cycle, explains how VariantManager, TaskManager and AndroidBuilder create and configure tasks, then dives into the class‑to‑dex conversion process, detailing common multi‑dex limits, troubleshooting steps, and custom Gradle tasks that shrink keep lists and analyze dependencies to avoid build failures.
AndroidDEXGradle
0 likes · 16 min read

This article explains why INSTALL_FAILED_DEXOPT occurs on Android versions below 3.0, details Google’s official multidex solution, and presents a custom automatic dex‑splitting and dynamic loading approach that overcomes method‑count and LinearAlloc limits while maintaining app performance.
AndroidAntDEX
0 likes · 20 min read

This article explains the motivations, design principles, compilation and runtime techniques of Ctrip's Android plugin‑based architecture and dynamic loading framework, detailing how it solves method‑count limits, improves build speed, enables hot‑deployment, and outlines the associated trade‑offs.
AAPTAndroidCtrip
0 likes · 19 min read

CoreOS’s newly announced open‑source project dex is an OpenID Connect‑compliant identity provider that offers secure, standards‑based authentication across web, mobile, CLI and automation environments, with extensible connectors, robust security practices, and a real‑world deployment example at Tectonic.com.
AuthenticationDEXOpenID Connect
0 likes · 9 min read
