0Pricing
Kotlin Multiplatform Academy · Lesson

Run the Android App from Studio

Build and deploy the Android target to an emulator.

Run the Android App from Studio is a free Kotlin Multiplatform Academy lesson on CoddyKit — lesson 1 of 4. You can read the complete lesson below for free — then practise it hands-on in the browser with a built-in code editor and a 24/7 AI tutor. It is part of the Kotlin Multiplatform Academy learning path, one of 4 lessons in the course, and your progress syncs across the web and the CoddyKit app.

Android First, On Purpose

Your shared Kotlin is ready, so let's see it live. We start with Android because Android Studio drives the whole build, end to end. 🚀

Pick the androidApp Module

The run configuration you want is the one for the androidApp module. It bundles your shared code into a real installable app.

Choose a Device or Emulator

Next to the run button is the device picker. Select a connected phone or spin up an emulator image from the dropdown.

Create an Emulator Fast

No device handy? Open the Device Manager and create a virtual device. A recent Pixel with a modern API level is a safe default.

Press the Green Run Button

Hit the green Run arrow. Studio compiles the shared module, builds the APK, installs it, and launches the app for you.

Gradle Does the Heavy Lifting

Behind the scenes Gradle assembles the androidApp and pulls in your shared library as a normal dependency. Watch the Build tab for progress.

./gradlew :androidApp:installDebug

Shared Code Is Just a Library

On Android there is no special bridge. Your shared module compiles to JVM bytecode and is consumed like any other Kotlin dependency.

implementation(project(":shared"))

Watch the Logcat Window

Open Logcat to see runtime logs from both your app and shared code. It is your first stop when something behaves oddly.

Edit, Rerun, Repeat

Change shared logic, hit Run again, and Studio rebuilds only what changed. This tight loop keeps your feedback fast. ⚡

Build Failed? Read the Top Line

If the build stops, scroll to the first error in the Build tab. The earliest message usually points at the real cause.

You Just Shipped to a Device

Seeing your shared greeting on a real Android screen proves the wiring works. That confidence carries straight into the iOS run next.

Quick Check

Let's confirm how the Android build consumes your shared code.

Recap

You ran the app by picking androidApp, choosing a device, and pressing Run. Gradle built the shared module as a plain dependency and Logcat showed it working. 🎉

Frequently asked questions

Is the “Run the Android App from Studio” lesson free?

Yes — the full text of “Run the Android App from Studio” is free to read here on the web, and the Kotlin Multiplatform Academy course includes 4 lessons in total. To practise it interactively (a built-in code editor and a 24/7 AI tutor) and unlock the rest of the Kotlin Multiplatform Academy course, upgrade to CoddyKit PRO.

What will I learn in “Run the Android App from Studio”?

Build and deploy the Android target to an emulator. You practise Kotlin Multiplatform Academy with hands-on code you run directly in the browser, and a 24/7 AI tutor answers your questions as you work through the lesson.

Do I need any experience to start Kotlin Multiplatform Academy?

No prior experience is required. Kotlin Multiplatform Academy on CoddyKit is structured for beginners through advanced learners; this is — lesson 1 of 4, so you can start here or from the beginning and move at your own pace.

How long does the “Run the Android App from Studio” lesson take?

Most CoddyKit lessons take about 5–10 minutes. Each one is bite-sized and interactive, so you make steady progress and pick up exactly where you left off across the web and the app.

Can I write and run code in this Kotlin Multiplatform Academy lesson?

Yes. Every Kotlin Multiplatform Academy lesson includes a built-in code editor, so you write and run real code right in your browser and get instant AI feedback — no local setup required.

All lessons in this course

  1. Run the Android App from Studio
  2. Open & Run the iOS App in Xcode
  3. How the iOS Framework Is Built
  4. Debug 'Shared Code Not Found' Issues
← Back to Kotlin Multiplatform Academy