Developing Android C ++ with Visual Studio

I am trying to figure out how to set up Android development using Visual Studio. I plan to use C ++ (targeting 2.3 and above), but I see little on this. Does anyone know how to do this?

I know that Android development offers Java / Eclipse, however I want to do C ++ / VS.

+4
source share
3 answers

vs android

vs-android is designed to provide a collection of scripts and support the integrated development of Android NDK C / C ++ software under Microsoft Visual Studio.

Currently, vs-android works only under Visual Studio 2010. Earlier versions lacked the integration of MSBuild with the C / C ++ Compilation System.

The only prerequisite is the Android NDK. Neither Cygwin, nor Java, nor the full Android SDK is required to compile and link C / C ++ code.

+3
source

The Android NDK (Native Developmemt Kit) uses the GCC toolchain, so Visual Studio will not be good if you do not want to use it to edit the source files and use any other external ones (Makefile from the command line?) To compile your program.

However, you should be able to use eclipse / CDT, and this provides a very rich C / C ++ programming environment (I use it every day for Linux development). See here .

+4
source

Take a look at this or this .

+1
source

Source: https://habr.com/ru/post/1336531/


All Articles