Android C++ Development with Visual Studio
I am trying to figure out how to setup android development with Visual Studio. I plan on using C++ (targeting 2.3 and above), but I see ver开发者_开发百科y little on the subject. Does anyone know how to do this?
I know that Android development suggests Java/Eclipse, however, I want to do C++/VS.
The Android NDK (Native Developmemt Kit) uses the GCC toolchain, so Visual Studio won't be any good unless you are willing to use it just for editing your source files and using some other external mechanism (Makefile from the Command Prompt?) to compile your program.
You should be able to use eclipse/CDT however, and this provides a very rich C/C++ programming environment (I use it everyday for Linux development). See here.
vs-android
vs-android is intended to provide a collection of scripts and utilities to support integrated development of Android NDK C/C++ software under Microsoft Visual Studio.
Currently vs-android only works under Visual Studio 2010. Earlier versions lack the MSBuild integration with the C/C++ compilation systems.
The only required component is the Android NDK. Neither Cygwin, Java, nor the full Android SDK are needed to compile and link C/C++ code.
Take a look at this or this.
精彩评论