Skip to content

Files

Latest commit

8f9d9fd · Feb 25, 2025

History

History

sample

Compose Multiplatform Application

Before running!

  • install JDK 17 on your machine
  • add local.properties file to the project root and set a path to Android SDK there

Android

To run the application on android device/emulator:

  • open project in Android Studio and run imported android run configuration

To build the application bundle:

  • run ./gradlew :composeApp:assembleDebug
  • find .apk file in composeApp/build/outputs/apk/debug/composeApp-debug.apk

Desktop

Run the desktop application: ./gradlew :composeApp:run

Browser

Run the browser application: ./gradlew :composeApp:jsBrowserDevelopmentRun