- install JDK 17 or higher on your machine
- add
local.propertiesfile to the project root and set a path to Android SDK there
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
.apkfile incomposeApp/build/outputs/apk/debug/composeApp-debug.apk
Run android UI tests on the connected device: ./gradlew :composeApp:connectedDebugAndroidTest
Build web distribution: ./gradlew :composeApp:composeCompatibilityBrowserDistribution
Deploy a dir composeApp/build/dist/composeWebCompatibility/productionExecutable to a web server
Run the browser application: ./gradlew :composeApp:jsBrowserDevelopmentRun --continue
Run browser UI tests: ./gradlew :composeApp:jsBrowserTest
Run the browser application: ./gradlew :composeApp:wasmJsBrowserDevelopmentRun --continue
Run browser UI tests: ./gradlew :composeApp:wasmJsBrowserTest