Android packaging shows SDK not setup properly

I am making a horror game in Unreal Engine 5.1 and whenever I click on package project for Android from the platforms menu, it simply prompts that my SDK for android is not properly setup. But I already setup everything from SDKs, NDKs, JDKs to Windows 10 SDK.

But it still shows this:


I think this is a bug in UE5. Plz help

So, hello all I fixed this issue, and you can watch this video (just 2 minutes long) to know reason for this problem and fix:

1 Like