Using the Intel(R) C++ Compiler for Android* with Microsoft Visual Studio*

Published:01/22/2014   Last Updated:10/14/2014

The Intel® C++ Compiler for Android* integrates itself into the vs-android software. vs-android enables the Microsoft Visual Studio* build system to compile and link Android C/C++ projects. A working vs-android installation is required in order to use the Intel® C++ Compiler for Android within Microsoft Visual Studio*.

Installation of vs-android

Download the vs-android plugin first. You find a download link on the project page: . Next follow the “A guide to installing vs-android” document ( to install “vs-android” and all required components. 
Depending on the Intel® C++ Compiler version it's required to install a different version of the Android* NDK:

  • 32-bit version of the Android* NDK must be installed to use Intel® C++ Compiler version 15.0 within Microsoft Visual Studio*. 

  • 64-bit version of the Android* NDK must be installed to use Intel® C++ Compiler version 16.0 within Microsoft Visual Studio*. 

If vs-android is installed before you install Intel® C++ Compiler for Android, the compiler installation will be done in a way that supports the use of the vs-android toolset. In other words, if you have already installed vs-android into your Visual Studio installation, you will be able to use Visual Studio after you install the Intel Compiler

If you install vs-android plug-in after the Intel® C++ Compiler for Android you need to integrate the Intel Compiler to vs-android by following these steps:

  1. Make sure your Windows account has administrator privileges.
  2. Open “%CommonProgramFiles%\Intel\shared files\VS Integration\Android” directory
    A full path would be "C:\Program Files (x86)\Common Files\Intel\shared files\VS Integration\Android" for example.
  3. Run “VS2010\vsa_updater.exe” if VS 2010 is installed as administrator (right click).
  4. Run “VS11\vsa_updater.exe” if VS 2012 is installed as administrator (right click).
  5. Run “VS12\vsa_updater.exe” if VS 2013 is installed as administrator (right click).

Troubleshooting: If you see an error message saying "Access to path '...' is denied" you haven't started the vsa_updater.exe as administrator.

Compiling projects with the Intel® C++ Compiler for Android instead of GCC

To use Intel® C++ Compiler for Android instead of GCC:

  1. From the “Solution Explorer” window, right click on the project node and select “Properties”.
  2. Select “Configuration Properties->General” and change “Platform Toolset” property on the right window to one of the available “x86 icc” toolchains. The list of available toolsets should contain a corresponding toolset for each installed Intel® C++ Compiler for Android.
  3. Change the “Target Architecture” property to “x86 Architecture (x86)”.

Known issues

If you have installed Intel® Composer XE 2013 SP1, Update 1 or earlier, and integrated it into Visual Studio,* and then installed “vs_android,” Visual Studio will crash when you change the “Platform Toolset” to one of the available “x86 icc” toolchains.  This bug is fixed in Intel® Composer XE 2013 SP1, Update 2.

Important notes on vs-android

  • The vs-android Software issues the following warning during a build:
    warning : The x86 toolchain isn't fully tested with vs-android. Use at your own risk.
  • If you building the application in "Release"-mode the deployment might fail because the [application]-release.apk can't be found. The root cause is most likely that the build environment can't find signature keys for signing the application. Building the application in "Debug" mode or creating the required signature keys as described here should solve the issue. 
    Corresponding error message:
    	       [echo] No and key.alias properties found in
    	       [echo] Please sign vs-android_samples\vs-android_samples\san-angeles\AndroidApk\bin\DemoActivity-release-unsigned.apk manually
    		Deploying... ( Use 'Build -> Cancel' - to halt deploy )
    	C:\android\adt\sdk\platform-tools\adb.exe  wait-for-device
    	C:\android\adt\sdk\platform-tools\adb.exe  install -r "vs-android_samples\san-angeles\AndroidApk\bin\DemoActivity-release.apk"
    		can't find 'vs-android_samples\vs-android_samples\san-angeles\AndroidApk\bin\DemoActivity-release.apk' to install
    	1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Platforms\Android\Microsoft.Cpp.Android.Targets(398,5): error MSB6006: "C:\android\adt\sdk\platform-tools\adb.exe" exited with code 1.
    	========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


This article applies to:
Products: Intel® System Studio, Intel® Integrated Native Developer Experience 
Host OS/platforms: Windows (IA-32, Intel(R) 64)
Target OS/platforms: Android


Product and Performance Information


Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804