إنشاء مشروع باستخدام KMP Wizard
إنشاء هيكل مشروع مشترك مع Android وiOS خلال دقائق
إنشاء مشروع باستخدام KMP Wizard درس مجاني في Kotlin Multiplatform Academy على CoddyKit. هذا هو الدرس 3 من أصل 4. يمكنك قراءة الدرس كاملاً أدناه مجاناً — ثم تمرن عليه مباشرة في المتصفح باستخدام محرر أكواد مدمج ومدرس ذكاء اصطناعي متاح 24/7. هذا الدرس جزء من مسار التعلم في Kotlin Multiplatform Academy، وتقدمك يتزامن عبر الويب وتطبيق CoddyKit. تتضمن دورة Kotlin Multiplatform Academy 4 دروس في المجموع.
بعض أجزاء هذا الدرس لم تُترجم بعد وتظهر باللغة الإنجليزية.
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. ✅
الأسئلة الشائعة
هل درس «إنشاء مشروع باستخدام KMP Wizard» مجاني؟
نعم — نص درس «إنشاء مشروع باستخدام KMP Wizard» كامل متاح مجاناً هنا على الويب. لتمرينه بشكل تفاعلي (محرر أكواد مدمج ومدرس ذكاء اصطناعي متاح 24/7) وفتح باقي دورة Kotlin Multiplatform Academy، انتقل إلى CoddyKit PRO. تتضمن دورة Kotlin Multiplatform Academy 4 دروس في المجموع.
ماذا ستتعلم في «إنشاء مشروع باستخدام KMP Wizard»؟
إنشاء هيكل مشروع مشترك مع Android وiOS خلال دقائق تتمرن على Kotlin Multiplatform Academy مع أكواد عملية تشغلها مباشرة في المتصفح، ومدرس ذكاء اصطناعي متاح 24/7 يجيب على أسئلتك أثناء عملك.
هل أحتاج إلى خبرة سابقة لأبدأ Kotlin Multiplatform Academy؟
لا تُشترط خبرة سابقة. Kotlin Multiplatform Academy على CoddyKit منظم للمبتدئين حتى المتقدمين، لذا يمكنك البدء من هنا أو من البداية والتقدم بسرعتك الخاصة. هذا هو الدرس 3 من أصل 4.
كم من الوقت يستغرق درس «إنشاء مشروع باستخدام KMP Wizard»؟
معظم دروس CoddyKit تستغرق حوالي 5–10 دقائق. كل منها موجز وتفاعلي، لذا تحرز تقدماً مستمراً وتستأنف من حيث توقفت عبر الويب والتطبيق.
هل يمكنني كتابة وتشغيل أكواد في درس Kotlin Multiplatform Academy هذا؟
نعم. كل درس في Kotlin Multiplatform Academy يتضمن محرر أكواد مدمج، لذا تكتب وتشغل أكواداً حقيقية مباشرة في متصفحك وتحصل على تعليقات فورية من الذكاء الاصطناعي — بدون إعداد محلي.
جميع الدروس في هذه الدورة
- JDK وAndroid Studio وKMP Plugin
- Xcode وCocoaPods لجزء iOS
- إنشاء مشروع باستخدام KMP Wizard
- جولة في المجلدات المُنشأة