Skip to content

Improve the "bad architecture" flutter error #120942

@jmagman

Description

@jmagman

Introduced in #114558

In #120697 users are hitting the "incorrect architecture" error on an Intel machine:

null
This binary was built with the incorrect architecture to run on this machine.
Flutter requires the Rosetta translation environment. If you are on an ARM Mac, try running:
  sudo softwareupdate --install-rosetta --agree-to-license
  1. Rosetta is only required on an arm Mac, rearrange those sentences.
  2. Specify what executable has the wrong architecture. In the case of Error after upgrading to 3.7.3 on Intel Mac: This binary was built with the incorrect architecture to run on this machine. #120697 (comment) it was java -version, but that wasn't clear in the error.
  3. Avoid the null.

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: first hourThe first hour of using FluttertoolAffects the "flutter" command-line tool. See also t: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions