[Solved] supports target architecture AMD64 (unsupported)
This error is thrown when using GraalVM to compile a project into an executable. As shown:

Solution
The cause of this problem is that Visual Studio's language is set to Chinese. You can fix it by changing the language in Visual Studio Installer.

Change to English, save, then reopen the cmd window and compile again.

Reference
This issue is also described on GitHub: https://github.com/oracle/graal/issues/3122