0

I can't build my project because I'm getting the following error during the build process:

Hardware of device 'Google sdk gphone64 x86_64 (emulator-5554)' is not supported: You are trying to install an ARMv7 APK on an ARM64 and X86_64 device. Please select ARM64 or X86_64 as the device filter in Player Settings or connect an ARMv7 device.

However, in the project settings, I can't select Target Architectures ARM64 and x86_64.

Could someone please advise how to fix this error or unlock these options?

Unity version:2022.3.62f1.0.32405 NDK version:23.1.7779620 enter image description here

I tried changing the NDK version, but it didn't work—the build kept failing with an error

Android NDK not found or invalid. Please, fix it in Edit / Unity -> Preferences -> External Tools

1 Answer 1

1

You must set Scripting Backend to IL2CPP, this is mentioned in the documentation:

  • ARM64: Enable support for ARM64 architecture.

    Note: This property is enabled only when you set Scripting Backend to IL2CPP.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.