Android build failed

I solved issue in unreal egine 4.27

by downloading unreal egine 4.24 and installed nvpack with default packages. Then i installed Android studio and configured the installation location to
C:\NVPACK\android-sdk-windows

after that i installed sdk 28,29,30 and NDK version 21.1.6352462 ( you can find them by checking Show pakage detail on the bottom)using android studio SDk manager.

then I went to NVPACK folder and i setuped like this

If android-ndk version is not the same, goto Download NDK r12.b and download then put in the NVPACK folder like the above screenshot.

Then i went to unreal engine 4.27 > open my project> i disabled oculus plugin>restart the editor.
the i went to Project setting>android SDK and
for SDk, i set to

C:/NVPACK/android-sdk-windows

for NDK, path

C:/NVPACK/android-sdk-windows/ndk/21.1.6352462

and for, jdk

C:/NVPACK/jdk1.8.0_77

i set sdk api level to 30 and ndk 29(cause ndk version 21.1.6352462 have platform upto 29 only)

and in Project setting>android i set the minimum sdk and target sdk to 29(you can change this to lower but first install the crossponding SDK platform versions using android studio)

and finally, it workes.