Android application type
Android for .NET (net6.0-android, etc.)
Affected platform version
VS2022 17.3.4
Description
I would like to set the runtime identifiers (x86/arm) when using the dotnet publish CLI.
dotnet publish -c Release -p:RuntimeIdentifiers="android-x86;android-arm" -p:AndroidPackageFormat=apk -o test
However this doesn't seem to work, only the first runtime identifier is used. The APK only contains libraries for x86 and not arm. The same problem happens when an a different runtime identifier is used such as android-arm64.
Steps to Reproduce
- Create a new Android .NET 6 app
- Execute
dotnet publish -c Release -p:RuntimeIdentifiers="android-x86;android-arm" -p:AndroidPackageFormat=apk -o test
- APK only contains libraries for first runtime identifier and not the second.
Did you find any workaround?
No
Relevant log output
No response
Android application type
Android for .NET (net6.0-android, etc.)
Affected platform version
VS2022 17.3.4
Description
I would like to set the runtime identifiers (x86/arm) when using the dotnet publish CLI.
dotnet publish -c Release -p:RuntimeIdentifiers="android-x86;android-arm" -p:AndroidPackageFormat=apk -o testHowever this doesn't seem to work, only the first runtime identifier is used. The APK only contains libraries for x86 and not arm. The same problem happens when an a different runtime identifier is used such as android-arm64.
Steps to Reproduce
dotnet publish -c Release -p:RuntimeIdentifiers="android-x86;android-arm" -p:AndroidPackageFormat=apk -o testDid you find any workaround?
No
Relevant log output
No response