Skip to content

eidra-umain/cocoaheads-kmmdemo

Repository files navigation

Compose Multiplatform Application

Before running!

  • check your system with (KDoctor)[https://github.com/Kotlin/kdoctor]
  • install JDK 8 on your machine
  • add local.properties file to the project root and set a path to Android SDK there
  • run ./gradlew podInstall in the project root

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

iOS

To run the application on iPhone device/simulator: