Archiving apk using .net 7.0+ for android includes wrong platforms #15971
Labels
area-tooling
XAML & C# Hot Reload, XAML Editor, Live Visual Tree, Live Preview, Debugging
external
platform/android 🤖
t/bug
Something isn't working
Description
[severity:I’m unable to use this version]
Archiving apk using .net 7.0 for android with “Target platform” “ARM64” produces large apk that includes assemblies of other platforms “X86” and “x64” which increases apk size considerably.
Expected behavior is to only include assemblies of the selected target platform. For example if we select “ARM32” it should not include other platforms like “ARM64”, “X86” and “x64”.
Latest visual studio 2022 17.6.2
Steps to Reproduce
simple steps:
To check it simply rename the apk as .zip file then open it and check folders “assemblies” and “bin” inside the apk. (please check attached screenshots)
Link to public reproduction project repository
https://github.com/mosammo/DotNetIssues
Version with bug
7.0.49
Last version that worked well
6.0
Affected platforms
Android
Affected platform versions
.net 7 for android
Did you find any workaround?
no
Relevant log output
No response
The text was updated successfully, but these errors were encountered: