Skip to content

Commit 63fa14a

Browse files
committed
Revise README to highlight the minSdk version requirement for Android
Signed-off-by: EricLu <[email protected]>
1 parent 38f26c1 commit 63fa14a

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

README.md

+18-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,24 @@ target 'Runner' do
103103

104104
#### Android
105105

106-
No specific settings are required.
106+
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.
107+
108+
Here's how you can do it:
109+
110+
1. Open your app's `build.gradle` file.
111+
2. Locate the `android` block, and within it, find the `defaultConfig` block.
112+
3. In the `defaultConfig` block, replace the current `minSdk` value with `24`.
113+
114+
Here's a diff to show what your changes might look like:
115+
116+
```diff
117+
android {
118+
defaultConfig {
119+
- minSdk flutter.minSdkVersion
120+
+ minSdk 24
121+
}
122+
}
123+
```
107124

108125
### Importing and using
109126

0 commit comments

Comments
 (0)