if you see this error, you may not have the NDK in your SDK.
so you better download it from here and copy all the folders and files to your SDK.
also you can go; open the project> select tools [on the top page]> Android> SDK Manager [from the main menu]> go to the SDK Tools tab> and check the box next to NDK
if you donβt have the NDK tab on the SDK tab, you can load the automatic in this folder
source share