Skip to content

Gemini Ai KMP is a Kotlin Multiplatform Project(Android, iOS, Web and Desktop) using the Official Gemini Starter Api.

Notifications You must be signed in to change notification settings

KhubaibKhan4/Gemini-AI-KMP

Repository files navigation

Gemini Ai KMP

Screenshots

Before running!

  • check your system with KDoctor
  • 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

iOS

To run the application on iPhone device/simulator:

Browser

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