JDK وAndroid Studio وKMP Plugin
الأدوات التي تحتاجون إليها قبل كتابة أول سطر من التعليمات البرمجية المشتركة
JDK وAndroid Studio وKMP Plugin درس مجاني في Kotlin Multiplatform Academy على CoddyKit. هذا هو الدرس 1 من أصل 4. يمكنك قراءة الدرس كاملاً أدناه مجاناً — ثم تمرن عليه مباشرة في المتصفح باستخدام محرر أكواد مدمج ومدرس ذكاء اصطناعي متاح 24/7. هذا الدرس جزء من مسار التعلم في Kotlin Multiplatform Academy، وتقدمك يتزامن عبر الويب وتطبيق CoddyKit. تتضمن دورة Kotlin Multiplatform Academy 4 دروس في المجموع.
بعض أجزاء هذا الدرس لم تُترجم بعد وتظهر باللغة الإنجليزية.
Tools Before Code
Before you write a single shared line, you need the right toolchain. Get this setup right and the rest of KMP feels smooth. 🛠️
Start With the JDK
Everything starts with the JDK, the Java Development Kit that compiles and runs your Kotlin code on the JVM side.
Which JDK Version
Pick a modern JDK 17 or newer. It is the safe, well-supported baseline that current Android and Gradle tooling expect.
Check Your Java
Open a terminal and confirm Java is installed and visible. One command tells you the version your machine will use.
java -versionAndroid Studio Is Home Base
Your main workshop is Android Studio, the IDE where you will edit shared code, run the Android app, and manage Gradle.
Use a Recent Studio
Install a recent stable Android Studio. Newer releases ship better Kotlin support and smoother multiplatform tooling out of the box.
The KMP Plugin
Add the Kotlin Multiplatform plugin from the plugins marketplace. It unlocks the project wizard and KMP-aware editing features.
Where Plugins Live
Find it under Settings then Plugins, search Marketplace for the multiplatform tooling, install, and restart Studio to activate it.
Android SDK Comes Too
Studio also installs the Android SDK, the platform libraries and build tools your Android target compiles against.
An Emulator to Test On
Create an Android emulator from the Device Manager so you can run and see your shared code working without a physical phone.
This Covers Android Only
So far you can build the Android half of KMP. The iOS side needs Mac-specific tools you will set up in the next lesson.
Quick Check
Which JDK version is the recommended safe baseline for modern KMP?
Recap
You lined up the essentials: a JDK 17+, Android Studio with the KMP plugin, the Android SDK, and an emulator. The Android side is ready. ✅
الأسئلة الشائعة
هل درس «JDK وAndroid Studio وKMP Plugin» مجاني؟
نعم — نص درس «JDK وAndroid Studio وKMP Plugin» كامل متاح مجاناً هنا على الويب. لتمرينه بشكل تفاعلي (محرر أكواد مدمج ومدرس ذكاء اصطناعي متاح 24/7) وفتح باقي دورة Kotlin Multiplatform Academy، انتقل إلى CoddyKit PRO. تتضمن دورة Kotlin Multiplatform Academy 4 دروس في المجموع.
ماذا ستتعلم في «JDK وAndroid Studio وKMP Plugin»؟
الأدوات التي تحتاجون إليها قبل كتابة أول سطر من التعليمات البرمجية المشتركة تتمرن على Kotlin Multiplatform Academy مع أكواد عملية تشغلها مباشرة في المتصفح، ومدرس ذكاء اصطناعي متاح 24/7 يجيب على أسئلتك أثناء عملك.
هل أحتاج إلى خبرة سابقة لأبدأ Kotlin Multiplatform Academy؟
لا تُشترط خبرة سابقة. Kotlin Multiplatform Academy على CoddyKit منظم للمبتدئين حتى المتقدمين، لذا يمكنك البدء من هنا أو من البداية والتقدم بسرعتك الخاصة. هذا هو الدرس 1 من أصل 4.
كم من الوقت يستغرق درس «JDK وAndroid Studio وKMP Plugin»؟
معظم دروس CoddyKit تستغرق حوالي 5–10 دقائق. كل منها موجز وتفاعلي، لذا تحرز تقدماً مستمراً وتستأنف من حيث توقفت عبر الويب والتطبيق.
هل يمكنني كتابة وتشغيل أكواد في درس Kotlin Multiplatform Academy هذا؟
نعم. كل درس في Kotlin Multiplatform Academy يتضمن محرر أكواد مدمج، لذا تكتب وتشغل أكواداً حقيقية مباشرة في متصفحك وتحصل على تعليقات فورية من الذكاء الاصطناعي — بدون إعداد محلي.
جميع الدروس في هذه الدورة
- JDK وAndroid Studio وKMP Plugin
- Xcode وCocoaPods لجزء iOS
- إنشاء مشروع باستخدام KMP Wizard
- جولة في المجلدات المُنشأة