I’ve found a solution from this post.
https://forums.unrealengine.com/t/quixel-megascans-fails-to-build-to-the-apple-vision-pro-in-5-4/1819932/4?u=rayhans
I was getting the problem from this two plugin.
Epic Games\UE_5.4\Engine\Plugins\Bridge\Bridge.uplugin"
Epic Games\UE_5.4\Engine\Plugins\Interchange\Runtime\Interchange.uplugin"
So I just edited the files and added “Android” in the SupportedTargetPlatforms for my android build. And it fixed the issue.