Skip to content

Error on archiving .net7.0 for android with target platform ARM32: "Invalid option 'ARM32' for /platform; must be anycpu, x86, Itanium, arm, arm64" #15691

Closed
@vsfeedback

Description

@vsfeedback

This issue has been moved from a ticket on Developer Community.


Error on archiving apk using .net 7.0 for android with “Target platform” ARM32
Error message says “Invalid option ‘ARM32’ for /platform; must be anycpu, x86, Itanium, arm, arm64”
Latest visual studio 2022 17.6.2

I tried editing the project file manually and setting the value to “ARM” instead of “ARM32” and it archived but produced 3 MB apk that crashes on open.


Original Comments

Feedback Bot on 6/14/2023, 08:08 PM:

(private comment, text removed)

Nina Chen [MSFT] on 6/14/2023, 11:39 PM:

(private comment, text removed)

Feedback Bot on 6/14/2023, 11:40 PM:

(private comment, text removed)

Feedback Bot on 6/15/2023, 10:28 AM:

(private comment, text removed)


Original Solutions

(no solutions)

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-toolingXAML & C# Hot Reload, XAML Editor, Live Visual Tree, Live Preview, Debuggingpartner/androidIssues for the Android SDKplatform/androidt/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions