Android packaging failed

I have deployed android’s environment as per the documentation
But the NDK is never detected
I have tried for a long time, including installing more versions of sdk, ndk, android studio
Also checked system environment variables
I have absolutely no idea where the problem is