Skip to content

Commit 288b1ba

Browse files
Suppress XA0141 warnings via NoWarn — SDK 36.1.53 ignores AndroidPageSize16KBCompatibilityCheck=false in some build orderings
Agent-Logs-Url: https://github.com/winnerspiros/osu/sessions/77a5ac41-5b04-4959-b12f-a4d0e166e898 Co-authored-by: winnerspiros <1675249+winnerspiros@users.noreply.github.com>
1 parent e8e7193 commit 288b1ba

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

osu.Android.props

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,11 @@
1616
<EmbedAssembliesIntoApk>true</EmbedAssembliesIntoApk>
1717
<!-- Suppress XA0141 page-size warnings. ELF patching is disabled for all configurations
1818
(see PatchElfPageSizeEnabled below) to prevent APK signature corruption.
19-
The XA0141 warning is therefore expected and harmless. -->
19+
The XA0141 warning is therefore expected and harmless.
20+
AndroidPageSize16KBCompatibilityCheck=false should suppress the check, but Android SDK
21+
36.1.53 still emits XA0141 in some build orderings, so we also add it to NoWarn. -->
2022
<AndroidPageSize16KBCompatibilityCheck>false</AndroidPageSize16KBCompatibilityCheck>
23+
<NoWarn>$(NoWarn);XA0141</NoWarn>
2124
<!-- Disable ELF alignment patching for ALL configurations.
2225
The custom PatchElfPageSize task can run concurrently with the Android packaging step
2326
because MSBuild's BeforeTargets="Build" fires for every ABI sub-build, which often

0 commit comments

Comments
 (0)