Hello @Gaurav Sharma,
Welcome to Microsoft Q&A forum.
I tried to reproduce this issue but failed. Perhaps you can try/double check following:
- Tools > Options > Cross Platform > C++ > Android > Android NDK.
- Install NDK manually(Tools > Android > Android SDK Manager > switch to Tools tab > NDK).
- Reinstall related Workloads and components from VS Installer > Modify.
- Is there any special or specific setting in your solution? Is this Android application developed by using VS 2022? If not, will the same issue appear in previous version of VS, for example VS 2019/2017(if it's possible, you can try to install previous version of VS just for test. It's useful for narrowing down this issue)?
Best Regards,
Tianyu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.