Tag

Dex2oat

1 views collected around this technical thread.

ByteDance Terminal Technology
ByteDance Terminal Technology
Apr 7, 2023 · Mobile Development

Plugin Framework Overview and Performance Optimizations for Android Applications

This article examines the evolution stages of a plugin framework, analyzes performance bottlenecks such as Multidex, Dex2Oat, and class loading on Android devices, and presents detailed optimization strategies—including timing adjustments, forced compilation commands, and native class‑loader hook replacements—to improve app responsiveness and reduce ANR occurrences.

AndroidClass LoadingDex2oat
0 likes · 24 min read
Plugin Framework Overview and Performance Optimizations for Android Applications
Coolpad Technology Team
Coolpad Technology Team
Apr 23, 2022 · Mobile Development

Understanding Dex2oat: Principles, Trigger Conditions, and Custom Optimization Strategies

This article explains the Dex2oat compilation process in Android, its various compiler filters, how to query and trigger optimizations in different scenarios such as boot, install, and idle, and presents custom strategies to improve performance while minimizing impact on user experience.

AndroidDex2oatcompiler filters
0 likes · 15 min read
Understanding Dex2oat: Principles, Trigger Conditions, and Custom Optimization Strategies
Coolpad Technology Team
Coolpad Technology Team
Nov 18, 2021 · Mobile Development

Optimizing Cold Startup Performance of Android Apps: A Case Study with Alipay

This article analyzes why Alipay’s cold start on our device is slower than on competing phones and presents a series of optimizations—including CPU boosting, Dex2oat strategy adjustments, GC frequency reduction, and I/O improvements—that collectively close the performance gap.

AndroidCPUCold Start
0 likes · 11 min read
Optimizing Cold Startup Performance of Android Apps: A Case Study with Alipay
ByteDance Dali Intelligent Technology Team
ByteDance Dali Intelligent Technology Team
Oct 20, 2021 · Mobile Development

Bypassing Android dex2oat Restrictions for targetSdkVersion ≥ 29: Analysis and Implementation

This article investigates the Android dex2oat compilation restrictions introduced for targetSdkVersion ≥ 29, analyzes their impact on app performance, explores SELinux enforcement, and presents a practical solution using system commands and binder calls to trigger dex2oat compilation for both primary and secondary APKs, improving load and runtime speed.

APKAndroidCompilation
0 likes · 19 min read
Bypassing Android dex2oat Restrictions for targetSdkVersion ≥ 29: Analysis and Implementation
ByteDance Terminal Technology
ByteDance Terminal Technology
Sep 29, 2021 · Mobile Development

Bypassing Android 10+ dex2oat Restrictions for Performance Optimization

This technical article investigates the Android 10+ dex2oat limitation that blocks app‑initiated compilation, analyzes its SELinux enforcement, and presents a practical solution using system commands and binder calls to trigger dex2oat for both primary and secondary APKs, achieving significant load‑time and runtime improvements.

ADBAndroidDex2oat
0 likes · 20 min read
Bypassing Android 10+ dex2oat Restrictions for Performance Optimization