File tree Expand file tree Collapse file tree 6 files changed +28
-12
lines changed Expand file tree Collapse file tree 6 files changed +28
-12
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -9,11 +9,10 @@ buildscript {
99 }
1010
1111 dependencies {
12- classpath ' com.android.tools.build:gradle:7.0 .1'
12+ classpath ' com.android.tools.build:gradle:7.3 .1'
1313 classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
1414 }
1515
16-
1716}
1817
1918rootProject. allprojects {
@@ -27,13 +26,13 @@ apply plugin: 'com.android.library'
2726apply plugin : ' kotlin-android'
2827
2928android {
30- compileSdkVersion 31
29+ compileSdk 33
3130
3231 sourceSets {
3332 main. java. srcDirs + = ' src/main/kotlin'
3433 }
3534 defaultConfig {
36- minSdkVersion 21
35+ minSdk 24
3736 testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
3837 consumerProguardFiles ' consumer-proguard-rules.pro'
3938 }
@@ -43,7 +42,7 @@ android {
4342}
4443
4544dependencies {
46- implementation(' com.linecorp.linesdk:linesdk:5.8 .1' ) {
45+ implementation(' com.linecorp.linesdk:linesdk:5.9 .1' ) {
4746 exclude group : ' androidx.lifecycle' , module : ' lifecycle-viewmodel-ktx'
4847 }
4948 implementation ' com.google.code.gson:gson:2.8.5'
Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33distributionPath =wrapper/dists
44zipStoreBase =GRADLE_USER_HOME
55zipStorePath =wrapper/dists
6- distributionUrl =https\://services.gradle.org/distributions/gradle-7.2-all .zip
6+ distributionUrl =https\://services.gradle.org/distributions/gradle-7.6-bin .zip
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ apply plugin: 'kotlin-android'
2626apply from : " $flutterRoot /packages/flutter_tools/gradle/flutter.gradle"
2727
2828android {
29- compileSdkVersion 31
29+ compileSdk 33
3030
3131 sourceSets {
3232 main. java. srcDirs + = ' src/main/kotlin'
@@ -38,8 +38,8 @@ android {
3838
3939 defaultConfig {
4040 applicationId " com.linecorp.linesdk.sample"
41- minSdkVersion 24
42- targetSdkVersion 31
41+ minSdk 24
42+ targetSdk 31
4343 versionCode flutterVersionCode. toInteger()
4444 versionName flutterVersionName
4545 testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ buildscript {
66 }
77
88 dependencies {
9- classpath ' com.android.tools.build:gradle:7.0 .1'
9+ classpath ' com.android.tools.build:gradle:7.3 .1'
1010 classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
1111 }
1212}
Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33distributionPath =wrapper/dists
44zipStoreBase =GRADLE_USER_HOME
55zipStorePath =wrapper/dists
6- distributionUrl =https\://services.gradle.org/distributions/gradle-7.2-all .zip
6+ distributionUrl =https\://services.gradle.org/distributions/gradle-7.6-bin .zip
You can’t perform that action at this time.
0 commit comments