You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
v4 of the Auth0 Android SDK includes significant build toolchain updates to support the latest Android development environment. This guide documents the changes required when migrating from v3 to v4.
6
+
7
+
## Requirements Changes
8
+
9
+
### Java Version
10
+
11
+
v4 requires **Java 17** or later (previously Java 11).
12
+
13
+
Update your `build.gradle` to target Java 17:
14
+
15
+
```groovy
16
+
android {
17
+
compileOptions {
18
+
sourceCompatibility JavaVersion.VERSION_17
19
+
targetCompatibility JavaVersion.VERSION_17
20
+
}
21
+
22
+
kotlinOptions {
23
+
jvmTarget = '17'
24
+
}
25
+
}
26
+
```
27
+
28
+
### Gradle and Android Gradle Plugin
29
+
30
+
v4 requires:
31
+
32
+
-**Gradle**: 8.10.2 or later
33
+
-**Android Gradle Plugin (AGP)**: 8.8.2 or later
34
+
35
+
Update your `gradle/wrapper/gradle-wrapper.properties`:
0 commit comments