# Migrating An Android App To KMP

> The repo's real migration order from Android to Kotlin Multiplatform, and how to use the kta-migrate skill to build the same plan for your app.

- URL: https://dantech.academy/en/courses/kotlin-accelerator/engineer-builder/08-capstone-kmp-migration/lesson-01-migrate-android-app-to-kmp
- Course: [Mobile Action Pro](https://dantech.academy/en/courses/kotlin-accelerator.md)
- Module: Capstone: Migrating an Android App to KMP
- Duration: 25 min
- Difficulty: intermediate
- Access: Enrolled students
- Tiếng Việt: https://dantech.academy/courses/kotlin-accelerator/engineer-builder/08-capstone-kmp-migration/lesson-01-migrate-android-app-to-kmp.md

## Objectives

- Read the repo's migration commit history and explain why each step sits where it does
- Keep user data and one shared DI list when moving an app to KMP
- Use kta-migrate to survey your app and write a verification gate for each phase

## In this lesson

1. Lesson Goal
2. Part 1: The Repo's Migration History
3. Part 2: Ordering By Dependency Direction
4. Part 3: Replacing Android-Only APIs
5. Part 4: Keeping The DataStore Paths
6. Part 5: One DI List For Two Platforms
7. Part 6: A Test Gate For Each Target
8. Part 7: Running kta-migrate On Your App
9. Practice Exercise
10. Code Reading Path
11. Signs To Avoid
12. References
13. Key Points

## Study with an AI agent

The full lesson is for students of this course. Students open the lesson on the web and press **Markdown** to copy all of it, then paste it into Claude, ChatGPT, Cursor or whichever agent you use. Faster: mint a token at `/profile/ai-agents` and your agent reads lessons over MCP.

- [Join the course](https://dantech.academy/en/kotlin-accelerator/checkout)

---

- Previous lesson: [Testing With Koin](https://dantech.academy/en/courses/kotlin-accelerator/engineer-builder/07-dependency-injection/lesson-12-testing-with-koin.md)
