visual studio 2022 dropped support of ant scripts (on which most of the templates were based), so only gradle based projects are left.
How to get the Native Activity App (Android)?
I wanted to create an app for android in visual studio community 2022, and all of the tutorials on youtube or internet talks about the template of native activity app or opengl-es app. Although i have installed mobile development with c++ but i cant see any of these templates in my template list. Has it been removed or i need to install something more for that?
or if there is any alternative for that.
Visual Studio
C++
2 answers
Sort by: Most helpful
-
Bruce (SqlWork.com) 75,621 Reputation points Moderator
2025-05-06T17:26:10.88+00:00 -
Anna Xiu-MSFT 31,006 Reputation points Microsoft External Staff
2023-02-06T07:33:43.31+00:00 Hi @Sudhanshu Kr. Suman ,
Welcome to Microsoft Q&A!
Is your VS installed on a virtual machine or native hardware?
From the requirements of creating an Android Native Activity App, Android emulator is required to install.
But for Android emulator, it must be installed locally.
Before you create an Android Native Activity app, please make sure that you have met all installation requirements.
Sincerely,
Anna
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.