Skip to content

Commit a45e550

Browse files
committed
updated kotlin version in flutter platform setup guide
1 parent c2d6717 commit a45e550

File tree

1 file changed

+3
-3
lines changed
  • src/pages/[platform]/start/platform-setup

1 file changed

+3
-3
lines changed

src/pages/[platform]/start/platform-setup/index.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Select Runner, Project -> Runner and then the "Build Settings" tab. Update "iOS
4848

4949
## Android
5050

51-
Amplify Flutter supports API level 24+ (Android 7.0+), and requires Gradle 8+, Kotlin 1.9+, and Java 17+ when targeting Android. Follow the steps below to apply these changes in your app.
51+
Amplify Flutter supports API level 24+ (Android 7.0+), and requires Gradle 8+, Kotlin 2.2+, and Java 17+ when targeting Android. Follow the steps below to apply these changes in your app.
5252

5353
<Callout warning>
5454
The steps below are intended for Flutter apps created with Flutter version 3.16+. If your app was created prior to version 3.16, please follow the guide [here](https://docs.flutter.dev/release/breaking-changes/flutter-gradle-plugin-apply) to migrate to Gradle's declarative plugins block before following the steps below.
@@ -64,7 +64,7 @@ plugins {
6464
- id("com.android.application") version "8.7.0" apply false
6565
- id("org.jetbrains.kotlin.android") version "1.8.22" apply false
6666
+ id("com.android.application") version "8.3.0" apply false
67-
+ id("org.jetbrains.kotlin.android") version "1.9.10" apply false
67+
+ id("org.jetbrains.kotlin.android") version "2.2.0" apply false
6868
}
6969
```
7070

@@ -129,7 +129,7 @@ plugins {
129129
- id "com.android.application" version "7.3.0" apply false
130130
- id "org.jetbrains.kotlin.android" version "1.7.10" apply false
131131
+ id "com.android.application" version "8.3.0" apply false
132-
+ id "org.jetbrains.kotlin.android" version "1.9.10" apply false
132+
+ id "org.jetbrains.kotlin.android" version "2.2.0" apply false
133133
}
134134
```
135135

0 commit comments

Comments
 (0)