How can I use MS Visual Studio for Android Development?


Question

Can you use Visual Studio for Android Development?

If so how would you set the android SDK instead of .NET framework and are there any special settings or configuration?

1
253
11/8/2010 7:45:39 PM

Yes, you can use Visual Studio for Android (native) using "vs-android".

Here are the steps to set it up:

  1. Download the Android SDK here.

  2. Download the Android NDK here.

  3. Download Cygwin here.

  4. Download the JDK here.

  5. Download Visual Studio 2010, 2012 or 2013 here.

  6. Download vs-android here.

  7. Download Apache Ant here.

  8. Set environment variables:

(Control Panel > System > Advanced > Environment Variables)

ANDROID_HOME = <install_path>\android-sdk
ANDROID_NDK_ROOT = <install_path>\android-ndk
ANT_HOME  = <install_path>\apache-ant
JAVA_HOME = <install_path>\jdk
_JAVA_OPTIONS = -Xms256m -Xmx512m  
  1. Download examples from here.

It works like a charm... and best so far to use.

65
1/31/2015 10:06:38 PM

Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow
Icon