Commit 31c2931
committed
build: AGP 8.13.2 with R8 9.1.43 so D8 can read Kotlin 2.4 metadata
The Kotlin version moved to 2.4.10 while AGP stayed on 8.12.1, whose bundled
R8 (8.12.14) predates Kotlin 2.4 metadata. Every dex step then logs
"An error occurred when parsing kotlin metadata" once per Kotlin stdlib class,
about a thousand lines per build. Kotlin 2.4 needs R8 9.1.29 or newer, which
no 8.x AGP bundles, so R8 is pinned on the buildscript classpath the way the
AGP/Kotlin compatibility docs describe, and AGP moves to the last 8.x release.
Both are overridable per project like the existing versions.1 parent 973cbfc commit 31c2931
2 files changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| 137 | + | |
137 | 138 | | |
138 | 139 | | |
| 140 | + | |
139 | 141 | | |
140 | 142 | | |
141 | 143 | | |
142 | 144 | | |
143 | 145 | | |
144 | 146 | | |
145 | 147 | | |
| 148 | + | |
146 | 149 | | |
147 | 150 | | |
148 | 151 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
| |||
0 commit comments