Tagged articles
226 articles
Page 3 of 3
Meituan Technology Team
Meituan Technology Team
Jul 12, 2018 · Mobile Development

Automated Page Speed Measurement Plugin for Android Apps

The Meituan Android team built an automated, non‑intrusive page‑speed plugin that injects SDK calls at compile time via a Gradle Transform, measures cold‑start, first render, network request and second render for Activities and Fragments—including ViewPager lazy loading—fetches real‑time config from a server and reports metrics to their monitoring platform.

AndroidGradleInstrumentation
0 likes · 22 min read
Automated Page Speed Measurement Plugin for Android Apps
Ctrip Technology
Ctrip Technology
May 9, 2018 · Mobile Development

Modular Refactoring and Decoupling Strategies for Large‑Scale Android Applications

This article explains how to apply modular refactoring—removing unnecessary files, reorganizing packages, degrading monolithic classes, and decoupling components—using tools such as IronBank, BizLifecycle, and AAR‑based platform support to achieve zero‑coupling, easier version management, and faster builds in Android projects.

AARAndroidCode Decoupling
0 likes · 13 min read
Modular Refactoring and Decoupling Strategies for Large‑Scale Android Applications
Meituan Technology Team
Meituan Technology Team
Apr 12, 2018 · Mobile Development

Implementing and Managing Custom Android Lint Rules for Code Quality

The article explains how to create, configure, and integrate custom Android Lint rules—using Issue, Detector, Scope, and IssueRegistry APIs—to catch crashes, bugs, performance and security problems such as missing Toast.show() or unsafe Log usage, supports incremental git‑based scans, and demonstrates deployment in IDE, builds, pre‑commit hooks and CI for improved code quality.

AndroidCICustom Rules
0 likes · 23 min read
Implementing and Managing Custom Android Lint Rules for Code Quality
Programmer DD
Programmer DD
Mar 20, 2018 · Backend Development

Generate Spring REST Docs API Documentation in Minutes with Gradle or Maven

This step‑by‑step guide shows how to create a simple Spring Boot application, configure Gradle or Maven builds, write MockMvc tests, and use Spring REST Docs to automatically generate up‑to‑date API documentation snippets that can be included in Asciidoctor‑based docs.

API documentationGradleREST Docs
0 likes · 17 min read
Generate Spring REST Docs API Documentation in Minutes with Gradle or Maven
Meituan Technology Team
Meituan Technology Team
Mar 15, 2018 · Mobile Development

Platformization and Code Reuse Practices in Meituan Waimai Android Client

Facing duplicated codebases as Meituan Waimai expanded from a single app to multiple channels, the team iteratively tried split libraries, componentization, and MVP layers before settling on a three‑layer platform architecture—platform, business, and host—isolated via Gradle projects, product flavors, and tooling to achieve sustainable, cross‑product code reuse.

AndroidEngineeringGradle
0 likes · 25 min read
Platformization and Code Reuse Practices in Meituan Waimai Android Client
Qizhuo Club
Qizhuo Club
Jan 26, 2018 · Mobile Development

Unveiling How RePlugin’s Gradle Plugins Automate Host & Plugin Build Processes

This article explains how the two essential Gradle plugins—replugin-host-gradle and replugin-plugin-gradle—generate configuration files, inject AndroidManifest components, create built‑in plugin descriptors, and use Transform API to modify bytecode, enabling seamless plugin development and integration in Android projects.

AndroidGradlePlugin Development
0 likes · 10 min read
Unveiling How RePlugin’s Gradle Plugins Automate Host & Plugin Build Processes
21CTO
21CTO
Oct 23, 2017 · Mobile Development

Does Kotlin Compile Faster Than Java? Real‑World Benchmark Results

Through a series of Gradle‑based benchmarks on clean, daemon‑enabled, and incremental builds, this study compares Java and Kotlin compilation times, revealing that while Java is slightly faster on cold builds, Kotlin matches or exceeds Java in typical incremental scenarios.

BenchmarkCompilationGradle
0 likes · 8 min read
Does Kotlin Compile Faster Than Java? Real‑World Benchmark Results
JD Retail Technology
JD Retail Technology
Sep 15, 2017 · Mobile Development

Plugin Compilation and Packaging in the Aura Framework: Resource Sharing, AAPT and Gradle Aura-Plugin Solutions

The article explains how the Aura framework handles plugin compilation and packaging by managing shared resources through public.xml, assigning unique package IDs, and offering two solutions—modifying AAPT and using the Gradle aura‑plugin—to achieve small, independent Android plugin bundles.

AAPTAndroidGradle
0 likes · 8 min read
Plugin Compilation and Packaging in the Aura Framework: Resource Sharing, AAPT and Gradle Aura-Plugin Solutions
iQIYI Technical Product Team
iQIYI Technical Product Team
Sep 8, 2017 · Mobile Development

APK Size Reduction Techniques for the iQIYI Android Client

The article outlines a comprehensive set of APK‑slimming techniques for the iQIYI Android client—including pluginization, 7‑ZIP recompression, apksigner signing, duplicate‑resource removal, PNG/WebP conversion, library trimming, code obfuscation, R‑class elimination, language‑config pruning and native‑ABI reduction—that together cut the package from 54.2 MB to 28.2 MB.

APK OptimizationAndroidGradle
0 likes · 20 min read
APK Size Reduction Techniques for the iQIYI Android Client
WeChat Client Technology Team
WeChat Client Technology Team
Jun 30, 2017 · Mobile Development

How WeChat Re‑engineered Its Android Architecture for Scalability

This article chronicles the evolution of WeChat's Android architecture from a simple layered design through multi‑process and modular restructurings, explains why a major refactor was needed, and details the new communication, module, and code‑boundary strategies that enable faster development, better isolation, and a lightweight WeChat nano demo.

AndroidGradleMobile Development
0 likes · 28 min read
How WeChat Re‑engineered Its Android Architecture for Scalability
Tongcheng Travel Technology Center
Tongcheng Travel Technology Center
May 26, 2017 · Backend Development

Designing a Router Framework for Decoupling Modules in Large‑Scale Projects

The article analyzes the challenges of tightly coupled modules in rapidly growing projects, proposes a Router model that encapsulates and distributes inter‑module calls, discusses its core concepts, implementation options, and extensions such as interceptors, and shares practical lessons learned after two years of use.

GradleJavaRouter
0 likes · 10 min read
Designing a Router Framework for Decoupling Modules in Large‑Scale Projects
Tencent Music Tech Team
Tencent Music Tech Team
Apr 28, 2017 · Mobile Development

Analysis and Implementation of Android APK Signature Scheme v2

The article explains Android’s APK Signature Scheme v2—introduced in Android Studio 2.2—its performance and integrity benefits over v1, details the signing block structure and verification steps, and demonstrates how to embed and retrieve custom channel data within the v2 block while preserving successful verification.

APKAndroidGradle
0 likes · 14 min read
Analysis and Implementation of Android APK Signature Scheme v2
Tencent TDS Service
Tencent TDS Service
Apr 27, 2017 · Mobile Development

How to Build Fast Multi‑Channel Android APKs Without Re‑Signing

This article explains various multi‑channel packaging methods for Android APKs, compares traditional Gradle productFlavors and ApkTool approaches, and introduces efficient V1‑ and V2‑based channel insertion techniques that avoid rebuilding or re‑signing, while providing integration steps for the ApkChannelPackage plugin.

APKAndroidGradle
0 likes · 24 min read
How to Build Fast Multi‑Channel Android APKs Without Re‑Signing
Meituan Technology Team
Meituan Technology Team
Jan 13, 2017 · Mobile Development

Fast Channel Package Generation for Android APK Signature Scheme v2

By exploiting the unprotected portion of Android’s APK Signature Scheme v2 signing block, the article introduces a fast, secure channel‑package generation technique—implemented in the open‑source Walle tool—that embeds custom IDs without re‑signing, enabling thousands of channels to be added in milliseconds per APK.

APK Signature Scheme v2APK signingAndroid
0 likes · 13 min read
Fast Channel Package Generation for Android APK Signature Scheme v2
Qunar Tech Salon
Qunar Tech Salon
Jan 9, 2017 · Mobile Development

Understanding Groovy DSL Parsing in Android Gradle Build Scripts

This article explains how Groovy parses Android-specific DSL in Gradle build files, covering DSL benefits, command chains, operator overloading, delegate mechanisms, and step‑by‑step execution of buildscript, repositories, dependencies, and tasks to help developers customize their Android build process.

AndroidDSLGradle
0 likes · 9 min read
Understanding Groovy DSL Parsing in Android Gradle Build Scripts
Baidu Intelligent Testing
Baidu Intelligent Testing
Nov 1, 2016 · Mobile Development

Android Mobile App Build Process: Ant and Gradle Compilation Methods

This article provides a comprehensive guide to Android app compilation, detailing the step‑by‑step build process, the use of Ant and Gradle tools, configuration of build.xml and build.gradle files, and essential settings such as obfuscation, signing, multidex, and code coverage to streamline CI pipelines.

AndroidAntBuild Automation
0 likes · 17 min read
Android Mobile App Build Process: Ant and Gradle Compilation Methods
Tencent Music Tech Team
Tencent Music Tech Team
Oct 28, 2016 · Mobile Development

New Features of Android Studio Native Development and How to Link Existing Native Code

Android Studio 2.2 introduces official native development support with CMake and ndk‑build integration, Gradle‑packaged .so libraries, LLDB hybrid debugging, enhanced C/C++ editing, easy linking of existing native code via IDE or build.gradle, new externalNativeBuild and abiFilters settings, and a concise CMake workflow.

Android StudioCMakeGradle
0 likes · 11 min read
New Features of Android Studio Native Development and How to Link Existing Native Code
MaGe Linux Operations
MaGe Linux Operations
Jul 19, 2016 · Mobile Development

Master Android CI/CD: Step-by-Step Jenkins Setup and Common Pitfalls

This guide walks you through configuring Jenkins on a CentOS 6.3 server to automatically compile Android projects from a GitLab repository, covering environment preparation, Jenkins installation, job creation, Gradle integration, and troubleshooting common issues such as SDK updates, permission errors, and memory limits.

AndroidCentOSGitLab
0 likes · 7 min read
Master Android CI/CD: Step-by-Step Jenkins Setup and Common Pitfalls
Tencent Music Tech Team
Tencent Music Tech Team
May 26, 2016 · Mobile Development

Understanding Android Gradle Build Process and Dex Generation: Practical Insights and Source Code Analysis

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.

AndroidBuild ProcessDEX
0 likes · 16 min read
Understanding Android Gradle Build Process and Dex Generation: Practical Insights and Source Code Analysis
21CTO
21CTO
Mar 25, 2016 · Backend Development

How to Share Tomcat Sessions via Redis: Step-by-Step Setup Guide

This tutorial walks through configuring Redis for Tomcat session sharing on Windows, covering environment setup, Gradle compilation of the tomcat-redis-session-manager plugin, jar deployment, context.xml configuration, and verification of shared session IDs across multiple Tomcat instances.

GradleJavaTomcat
0 likes · 8 min read
How to Share Tomcat Sessions via Redis: Step-by-Step Setup Guide
Tencent TDS Service
Tencent TDS Service
Dec 3, 2015 · Mobile Development

Mastering Gradle for Android: From Ant to Maven and Custom Plugins

This article walks through the evolution from Ant to Maven to Gradle for Android projects, explains Gradle's project structure, key concepts like repositories, source sets, properties, tasks, shows how to publish artifacts, create and use plugins, and offers tips to speed up Gradle builds.

AndroidAntGradle
0 likes · 22 min read
Mastering Gradle for Android: From Ant to Maven and Custom Plugins