Skip to content

Commit 39a8a21

Browse files
authored
Merge pull request #182 from winnerspiros/fix-android-build-net10-aot-errors-6633183801022029856
Fix Android build failures in .NET 10 CI environment
2 parents 077cd27 + 38cf661 commit 39a8a21

3 files changed

Lines changed: 4 additions & 8 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ jobs:
3131
with:
3232
dotnet-version: "10.0.x"
3333

34+
- name: Update .NET workloads
35+
run: dotnet workload update
36+
3437
- name: Install .NET Android workload
3538
run: dotnet workload install android
3639

global.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

osu.Android.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
(Newtonsoft.Json, Realm, AutoMapper, RuntimeBinder). -->
2323
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
2424
<RunAOTCompilation>false</RunAOTCompilation>
25-
<AndroidEnableProfiledAot>true</AndroidEnableProfiledAot>
25+
<AndroidEnableProfiledAot>false</AndroidEnableProfiledAot>
2626
<SuppressTrimAnalysisWarnings>true</SuppressTrimAnalysisWarnings>
2727
<PublishTrimmed>false</PublishTrimmed>
2828
<AndroidLinkMode>None</AndroidLinkMode>

0 commit comments

Comments
 (0)