Genere un proyecto con el asistente de KMP
Cree en minutos la estructura de un proyecto shared+Android+iOS
Genere un proyecto con el asistente de KMP es una lección gratuita de Kotlin Multiplatform Academy en CoddyKit. Esta es la lección 3 de 4. Puedes leer la lección completa abajo gratuitamente — luego la practicas en el navegador con un editor de código integrado y un tutor de IA 24/7. Forma parte de la ruta de aprendizaje de Kotlin Multiplatform Academy, y tu progreso se sincroniza en la web y la app de CoddyKit. El curso de Kotlin Multiplatform Academy incluye 4 lecciones en total.
Partes de esta lección aún no han sido traducidas y se muestran en inglés.
Let the Wizard Scaffold It
You do not hand-build a KMP project. A wizard generates a working shared, Android, and iOS setup in minutes. ✨
Two Ways In
You can start from the web wizard at the official KMP site, or from New Project inside Android Studio. Both produce the same template.
Name Your App
The wizard asks for a project name and an application id. The id is your unique reverse-domain identifier, like com.example.myapp.
Choose Your Targets
You tick the platforms to include. For your first app, Android and iOS is the classic, focused pair to start with.
Shared UI or Native UI
The wizard offers a choice: Compose Multiplatform for shared UI, or native UI on each side. Start native to learn the boundaries clearly.
Generate and Download
Click generate. The wizard hands you a ready project, either downloaded as a zip or opened directly in Studio.
Open It in Studio
Open the generated folder in Android Studio. It detects Gradle and begins importing the project structure automatically.
First Gradle Sync
The first Gradle sync downloads dependencies and can take a while. Let it finish before you touch any files.
You Got Three Pieces
The template gives you a shared module, an Android app, and an iOS app, all already linked together and ready to run.
Run It Right Away
Pick the Android run configuration, choose your emulator, and hit run. Seeing the sample app prove the wiring works is a great confidence boost.
A Working Starting Point
You now have a real, buildable KMP app, not an empty folder. Next you will tour what each generated piece actually does.
Quick Check
When you generate a KMP project from the wizard, what do you get?
Recap
You used the KMP wizard to scaffold a project, named it, picked targets, ran the first Gradle sync, and launched the sample app. ✅
Preguntas frecuentes
¿La lección «Genere un proyecto con el asistente de KMP» es gratis?
Sí — el texto completo de «Genere un proyecto con el asistente de KMP» es gratis para leer aquí en la web. Para practicarla de forma interactiva (editor de código integrado y tutor de IA 24/7) y desbloquear el resto del curso de Kotlin Multiplatform Academy, actualiza a CoddyKit PRO. El curso de Kotlin Multiplatform Academy incluye 4 lecciones en total.
¿Qué aprenderé en «Genere un proyecto con el asistente de KMP»?
Cree en minutos la estructura de un proyecto shared+Android+iOS Practicas Kotlin Multiplatform Academy con código real que ejecutas directamente en el navegador, y un tutor de IA 24/7 responde tus preguntas mientras trabajas en la lección.
¿Necesito experiencia previa para empezar Kotlin Multiplatform Academy?
No se requiere experiencia previa. Kotlin Multiplatform Academy en CoddyKit está estructurado para principiantes hasta estudiantes avanzados, así que puedes empezar aquí o desde el inicio y avanzar a tu ritmo. Esta es la lección 3 de 4.
¿Cuánto tiempo toma la lección «Genere un proyecto con el asistente de KMP»?
La mayoría de las lecciones de CoddyKit toman alrededor de 5–10 minutos. Cada una es compacta e interactiva, así que avanzas constantemente y retomas exactamente por donde dejaste en la web y la app.
¿Puedo escribir y ejecutar código en esta lección de Kotlin Multiplatform Academy?
Sí. Cada lección de Kotlin Multiplatform Academy incluye un editor de código integrado, así que escribes y ejecutas código real directamente en tu navegador y obtienes retroalimentación instantánea de IA — sin configuración local necesaria.
Todas las lecciones de este curso
- JDK, Android Studio y el plugin de KMP
- Xcode y CocoaPods para el lado de iOS
- Genere un proyecto con el asistente de KMP
- Recorrido por las carpetas generadas