Tagged articles
3 articles
Page 1 of 1
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Jul 9, 2024 · Mobile Development

Making Android Baseline Profiles Work with Obfuscation, Market Limits, and Hot‑Fixes

This article explains how Baseline Profiles improve Android app start‑up performance, analyzes three major obstacles—unsupported app stores, dex‑crc mismatches caused by code‑obfuscation, and hot‑fix dex incompatibility—and provides concrete solutions including active optimization, dex‑name correction tasks, and profile injection during patch synthesis.

AndroidAoTBaseline Profiles
0 likes · 18 min read
Making Android Baseline Profiles Work with Obfuscation, Market Limits, and Hot‑Fixes
Watermelon Video Tech Team
Watermelon Video Tech Team
Jun 2, 2023 · Mobile Development

Custom Baseline Profiles Optimization for Android Apps: Design, Implementation, and Evaluation

This article describes the background of Android code execution, the evolution from full AOT to JIT+AOT and Cloud Profiles, the limitations of Google Baseline Profiles, and presents a custom Gradle‑based solution that generates baseline.prof files for all AGP versions, integrates with the installation pipeline, collaborates with OEMs, and demonstrates measurable cold‑start improvements.

AndroidAoTBaseline Profiles
0 likes · 29 min read
Custom Baseline Profiles Optimization for Android Apps: Design, Implementation, and Evaluation
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Feb 17, 2023 · Mobile Development

Optimizing Dynamically Loaded Dex Files Across Android Versions

The article explains how dynamically loaded dex files are optimized on Android 5.0 through 12—detailing AOT compilation via dex2oat, profile‑guided filters, runtime‑filter flags, class‑loader contexts, SELinux limits, and the use of PathClassLoader or the PMS performDexOptSecondary command to achieve performance comparable to installed APKs.

AndroidAoTDex Optimization
0 likes · 17 min read
Optimizing Dynamically Loaded Dex Files Across Android Versions