Skip to content

Commit

Permalink
fix: Restore Android 5-7 support
Browse files Browse the repository at this point in the history
  • Loading branch information
gnarea committed Aug 19, 2021
1 parent 23f9544 commit b7b8ac2
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion codelabs/android-centralised.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Let's create a new project on Android Studio by going to `File` -> `New` -> `New

![](./images/android-centralised/android-studio-project-template.png)

In the final screen, make sure to leave Kotlin as the programming language and API 26 as the minimum Android SDK ([we plan to restore support for API 21-25 soon](https://github.com/relaycorp/awala-endpoint-android/issues/87)).
In the final screen, make sure to leave Kotlin as the programming language and API 21 as the minimum Android SDK.

![](./images/android-centralised/android-studio-project-config.png)

Expand Down
2 changes: 1 addition & 1 deletion examples/android-centralised/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ android {

defaultConfig {
applicationId "com.example.pingcodelab"
minSdkVersion 26
minSdkVersion 21
targetSdkVersion 30
versionCode 1
versionName "1.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/android-centralised/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ buildscript {
jcenter()
}
dependencies {
classpath "com.android.tools.build:gradle:4.1.2"
classpath 'com.android.tools.build:gradle:7.0.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"

// NOTE: Do not place your application dependencies here; they belong
Expand Down
2 changes: 1 addition & 1 deletion examples/android-centralised/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ android.enableJetifier=true
kotlin.code.style=official

# Workaround for https://issuetracker.google.com/issues/159151549
android.jetifier.blacklist = bcprov-jdk15on-1.*.jar
android.jetifier.ignorelist = bcprov-jdk15on-1.*.jar
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-all.zip

0 comments on commit b7b8ac2

Please sign in to comment.