A KMM sample showing the SpaceX rockets and launches using SpaceXApi
rockets_android.mov
rockets_ios.mov
- check your system with 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
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 incomposeApp/build/outputs/apk/debug/composeApp-debug.apk
To run the application on iPhone device/simulator:
- Open
iosApp/iosApp.xcworkspace
in Xcode and run standard configuration - Or use Kotlin Multiplatform Mobile plugin for Android Studio