Commit 855f1ba
Fix Android build compatibility by upgrading to API 35 and Java 21
- Updated android/variables.gradle: compileSdkVersion and targetSdkVersion 34 → 35
- Updated .github/workflows/build-android.yml: api-level and build-tools 34 → 35
- Capacitor automatically updated Java compatibility to VERSION_21 in capacitor.build.gradle
This resolves the "VANILLA_ICE_CREAM constant not found" error by using Android API 35 which includes the Build.VERSION_CODES.VANILLA_ICE_CREAM constant required by Capacitor Android 7.4.2.
Co-authored-by: 0xrinegade <[email protected]>1 parent 944a091 commit 855f1ba
File tree
3 files changed
+6
-6
lines changed- .github/workflows
- android
- app
3 files changed
+6
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
90 | | - | |
| 89 | + | |
| 90 | + | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
| 5 | + | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
| 3 | + | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
0 commit comments