Skip to content

Commit

Permalink
Added information about the necessity to upgrade the gradle plugin an…
Browse files Browse the repository at this point in the history
…d instructions on how to update it.
  • Loading branch information
Florian Aul committed Jul 10, 2024
1 parent 7918ff7 commit 7e81911
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,20 @@ Change the minimum Android sdk version to 21 (or higher) in your `android/app/bu
minSdkVersion 21
```

**Update the Kotlin Gradle Plugin Version**

Change the verision of the Kotlin Gradle plugin to `1.9.10`. <br>
If your project was created with a version of Flutter before 3.19, go to the `android/build.gradle` file and update the `ext.kotlin_version`:
```groovy
ext.kotlin_version = '1.9.10'
```

Otherwise go to `android/settings.gradle` and update the verion of the plugin `org.jetbrains.kotlin.android`:
```groovy
id "org.jetbrains.kotlin.android" version "1.9.10" apply false
```


Apps targeting Android 11 that use text-to-speech should
declare [`TextToSpeech.Engine.INTENT_ACTION_TTS_SERVICE`](https://developer.android.com/reference/android/speech/tts/TextToSpeech.Engine#INTENT_ACTION_TTS_SERVICE)
in the `queries` elements of their manifest.
Expand Down

0 comments on commit 7e81911

Please sign in to comment.