How to get the Native Activity App (Android)?

Sudhanshu Kr. Suman 25 Reputation points
2023-02-05T04:51:09.8+00:00

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
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,021 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,681 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 28,491 Reputation points Microsoft Vendor
    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.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.