Skip to content

Commit

Permalink
Revise README to highlight the minSdk version requirement for Android
Browse files Browse the repository at this point in the history
Signed-off-by: EricLu <[email protected]>
  • Loading branch information
YkSix committed Nov 15, 2023
1 parent 38f26c1 commit 63fa14a
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,24 @@ target 'Runner' do

#### Android

No specific settings are required.
To ensure compatibility with the latest features, you need to update the `minSdk` version in your app's `build.gradle` file to `24` or higher.

Here's how you can do it:

1. Open your app's `build.gradle` file.
2. Locate the `android` block, and within it, find the `defaultConfig` block.
3. In the `defaultConfig` block, replace the current `minSdk` value with `24`.

Here's a diff to show what your changes might look like:

```diff
android {
defaultConfig {
- minSdk flutter.minSdkVersion
+ minSdk 24
}
}
```

### Importing and using

Expand Down

0 comments on commit 63fa14a

Please sign in to comment.