Skip to content
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -296,9 +296,26 @@ kotlin {

## Validate

Execute `flutter run` or `flutter build apk` to
confirm that your app builds and
launches on a connected Android device or emulator.
Before enabling Built-in Kotlin,
confirm that you have migrated your application
and any Flutter plugins it uses.

To enable Built-in Kotlin,
set the `android.builtInKotlin` property to `true`
in your `gradle.properties` file:

```properties diff title="<flutter-project>/android/gradle.properties"
# ...
+ android.builtInKotlin=true
```
::::note
Enabling Built-in Kotlin requires Flutter 3.47 or later.
::::

After enabling Built-in Kotlin,
execute `flutter run` or `flutter build apk`
to confirm that your app builds and launches
on a connected Android device or emulator.

If your app fails to build because
you are using an unmigrated Flutter plugin,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -419,8 +419,26 @@ the newly released plugin version:

## Validate

Execute `flutter run` or `flutter build apk` to
confirm that your plugin example app builds and launches
Before enabling Built-in Kotlin,
confirm that you have migrated your plugin example app
and any Flutter plugins it uses.

To enable Built-in Kotlin,
set the `android.builtInKotlin` property to `true`
in your `gradle.properties` file:

```properties diff title="<flutter-project>/android/gradle.properties"
# ...
+ android.builtInKotlin=true
```

::::note
Enabling Built-in Kotlin requires Flutter 3.47 or later.
::::

After enabling Built-in Kotlin,
execute `flutter run` or `flutter build apk`
to confirm that your plugin example app builds and launches
on a connected Android device or emulator.

If your plugin example app also applies KGP,
Expand Down
Loading