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