JDK、Android Studio、KMP Plugin
共有コードを書く前に必要なツールをそろえます
「JDK、Android Studio、KMP Plugin」はCoddyKit上の無料Kotlin Multiplatform Academyレッスンです。 これはレッスン1/4です。 下記で完全なレッスンを無料で読むことができます。その後、ブラウザ内の組み込みコードエディタと24時間対応のAIチューターでハンズオン演習できます。 これは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. ✅
AI チューターと学ぶ Kotlin — 無料
ブラウザでリアルコードを書いて実行し、24/7 の AI チューターから瞬時にサポートを受け、ウェブまたはアプリで続きから学習できます。
- コース
- 30
- レッスン
- 120
よくある質問
「JDK、Android Studio、KMP Plugin」レッスンは無料ですか?
はい。「JDK、Android Studio、KMP Plugin」の完全なテキストはこのウェブで無料で読めます。インタラクティブに演習し(組み込みコードエディタと24時間対応のAIチューター)、Kotlin Multiplatform Academyコースの残りをアンロックするには、CoddyKit PROにアップグレードしてください。 Kotlin Multiplatform Academyコースには全4レッスンが含まれています。
「JDK、Android Studio、KMP Plugin」で何を学びますか?
共有コードを書く前に必要なツールをそろえます ブラウザで直接実行するハンズオンコードでKotlin Multiplatform Academyを演習し、24時間対応のAIチューターがレッスンを進める中での質問に答えます。
Kotlin Multiplatform Academyを始めるのに経験は必要ですか?
事前経験は必要ありません。CoddyKitのKotlin Multiplatform Academyは初級者から上級者向けに構成されているため、ここから始めるか最初から始めて、自分のペースで進むことができます。 これはレッスン1/4です。
「JDK、Android Studio、KMP Plugin」レッスンにはどのくらい時間がかかりますか?
ほとんどのCoddyKitレッスンは約5~10分かかります。各レッスンはコンパクトでインタラクティブなので、着実に進歩し、ウェブとアプリ全体で正確に前回の場所から再開できます。
このKotlin Multiplatform Academyレッスンでコードを書いて実行できますか?
はい。すべてのKotlin Multiplatform Academyレッスンに組み込みコードエディタが含まれているため、ブラウザでリアルコードを書いて実行し、即座のAIフィードバックを取得できます。ローカル設定は不要です。
このコースのすべてのレッスン
- JDK、Android Studio、KMP Plugin
- iOS側のXcodeとCocoaPods
- KMP Wizardでプロジェクトを生成する
- 生成されたフォルダーを見てみる