Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,6 @@ If you do not have an IDE, from step 5, you'll instead:
2. Launch an emulator: `fvm flutter emulators --launch Pixel_2_API_30`
3. `fvm flutter run`

If you get the `Unknown Kotlin JVM target: 21` error while trying to build the app, you probably have wrong JDK version.

Install JDK 17 and update flutter config to point to this JDK:
```bash
fvm flutter config --jdk-dir <path-to-jdk-17>
```

### Host-specific instructions: Ubuntu and similar

To install FVM on Ubuntu, try something like:
Expand Down
4 changes: 4 additions & 0 deletions android/buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,8 @@ plugins {

repositories {
mavenCentral()
}

kotlin {
jvmToolchain(17)
}
Loading