Tagged articles
6 articles
Page 1 of 1
AndroidPub
AndroidPub
Mar 23, 2026 · Databases

Room 3.0 Alpha: A Deep Dive into KMP‑Ready Database Overhaul and Migration Guide

Google’s newly released Room 3.0 Alpha marks a landmark rewrite that transforms the Android‑only persistence library into a Kotlin Multiplatform solution, introducing package renaming, KSP‑only processing, coroutine‑first APIs, and experimental web support, while providing detailed migration steps and new features such as custom DAO return types.

CoroutinesKSPKotlin Multiplatform
0 likes · 12 min read
Room 3.0 Alpha: A Deep Dive into KMP‑Ready Database Overhaul and Migration Guide
Sohu Tech Products
Sohu Tech Products
Jun 5, 2024 · Mobile Development

Android KAPT Build Optimization: From Analysis to KSP Migration and IDE Plugin Solutions

The article analyzes why KAPT consumes 82% of Android‑Kotlin build time and presents three optimization strategies—enabling KAPT incremental compilation, migrating to the faster KSP processor, and creating an Android Studio plugin that generates code at development time—detailing their implementation steps, performance gains, and trade‑offs.

AndroidAndroid Studio PluginAnnotation Processor
0 likes · 40 min read
Android KAPT Build Optimization: From Analysis to KSP Migration and IDE Plugin Solutions
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 22, 2022 · Mobile Development

Understanding apt, kapt, and ksp: Annotation Processing and Kotlin Symbol Processing for Code Generation

This article explains the differences between Java's Annotation Processing Tool (apt), Kotlin's annotation processor (kapt), and the newer Kotlin Symbol Processing (ksp) framework, illustrating their architectures, usage patterns, and code‑generation capabilities with practical examples for Android development.

AndroidAnnotation ProcessingCode Generation
0 likes · 10 min read
Understanding apt, kapt, and ksp: Annotation Processing and Kotlin Symbol Processing for Code Generation
Sohu Tech Products
Sohu Tech Products
Nov 10, 2021 · Mobile Development

Adding KSP Support to Android Room: Challenges, Design Decisions, and Implementation

This article details how the Android Room library added experimental Kotlin Symbol Processing (KSP) support to replace KAPT, describing the performance benefits, the architectural challenges of creating an X‑Processing abstraction layer, the testing infrastructure built around it, and the remaining limitations and future work.

AndroidAnnotation ProcessingKSP
0 likes · 15 min read
Adding KSP Support to Android Room: Challenges, Design Decisions, and Implementation