如何使用微软的Visual Studio中为Android开发? [英] How can I use MS Visual Studio for Android Development?
问题描述
您可以使用Visual Studio为Android开发?
如果这样你会如何设置Android SDK的,而不是.NET框架,有没有什么特别的设置或配置?
是的,你可以使用Visual Studio为Android(本机)使用VS-机器人。
下面是步骤来进行设置:
-
这里下载了Android SDK 。
-
这里下载Android NDK 。
-
下载Cygwin的这里。
-
这里下载JDK 。
李> -
下载的Visual Studio 2010,2012年或2013 <一href="http://www.visualstudio.com/en-US/downloads/download-visual-studio-vs#DownloadFamilies_2">here.
-
下载VS-安卓这里 。
-
下载Apache Ant的这里。
-
设置环境变量:
(控制面板>系统>高级>环境变量)
ANDROID_HOME =&LT; INSTALL_PATH&GT; \ Android的SDK
ANDROID_NDK_ROOT =&LT; INSTALL_PATH&GT; \的Android NDK
ANT_HOME =&LT; INSTALL_PATH&GT; \ Apache的蚂蚁
JAVA_HOME =&LT; INSTALL_PATH&GT; \ JDK
_JAVA_OPTIONS = -Xms256m -Xmx512m
- 下载从<一个例子href="http://$c$c.google.com/p/vs-android/downloads/detail?name=vs-android_samples.zip">here.
它的工作原理就像一个魅力......和最好用至今。
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?
Yes, you can use Visual Studio for Android (native) using "vs-android".
Here are the steps to set it up:
Download the Android SDK here.
Download the Android NDK here.
Download Cygwin here.
Download the JDK here.
Download Visual Studio 2010, 2012 or 2013 here.
Download vs-android here.
Download Apache Ant here.
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
- Download examples from here.
It works like a charm... and best so far to use.
这篇关于如何使用微软的Visual Studio中为Android开发?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!