你会使用Visual Studio进行Android开发吗?
如果是这样,你将如何设置android SDK而不是。net框架,有任何特殊的设置或配置吗?
你会使用Visual Studio进行Android开发吗?
如果是这样,你将如何设置android SDK而不是。net框架,有任何特殊的设置或配置吗?
当前回答
你可以使用Visual Studio 2015为Android、iOS和Windows构建跨平台应用程序。
开发计划署:https://www.visualstudio.com/en-US/explore/cordova-vs
希望这对你有所帮助!
其他回答
如果你有兴趣制作HTML5混合应用程序(包装在本地容器中的web应用程序,可以访问设备功能),Nomad Visual Studio扩展支持android设备的构建。
是的,你可以:
http://www.gavpugh.com/2011/02/04/vs-android-developing-for-android-in-visual-studio/
如果你得到“无法找到工具。jar。”你可以添加一个环境变量JAVA_HOME,指向你的Java JDK路径,例如c:\sdks\glassfish3\ JDK(之后重新启动MSVC)
一个更好的解决方案是在Visual Studio中使用WinGDB Mobile Edition:它可以让你在Visual Studio中创建和调试Android项目:
http://ian-ni-lewis.blogspot.com/2011/01/its-like-coming-home-again.html
下载WinGDC for Android http://www.wingdb.com/wgMobileEdition.htm
如果你想用c#语言创建一个Android应用程序,你可以使用Xamarin。 他们创造了这个伟大的跨平台开发工具,允许开发者用c#语言开发iOS和Android应用程序。
Xamarin提供了从免费到企业级的不同许可证,但我将使用免费版本的入门版本。它包括Xamarin Studio,这对于那些想要尝试为Android创建第一个应用程序的人来说是一个很好的开始,他们还提供了一个商业许可证,允许你在Visual Studio中开发,这样你就可以使用类似于开发Web应用程序或Windows应用程序的丰富体验,然后他们有这个企业,它包含了一切
我知道这个q很老了,但它可能对我有用:
http://blogs.nvidia.com/2013/02/nvidia-introduces-nsight-tegra-to-assist-android-developers/
您可以使用c#和Xamarin构建丰富的原生应用程序,并将100%的原生api暴露给您。或者使用c++和可以在iOS或Windows上重用的代码来实现最大的性能。
要跟上本文的内容,你需要一份Visual Studio,再加上“使用。net进行移动开发”的工作负载。您可以在第一次安装Visual Studio时启用此功能,也可以从“工具->获取工具和功能…”菜单项中访问它:
Visual Studio安装程序
When testing and running your app you have the choice of doing so with either an Android emulator running on your development machine, or by directly connecting to an existing Android device. There’s no right option here and different developers prefer different form factors. If you choose the former option, you’ll need to ensure once you’ve selected the workload that on the right-hand pane (‘Installation details’) the checkboxes for Intel Hardware Accelerated Execution Manager and Google Android Emulator are selected (as seen above).
这篇文章将帮助你通过visual studio来做基本的android应用程序。我把链接放在下面。
https://developer.okta.com/blog/2018/12/27/build-a-basic-android-app-with-xamarin-and-visual-studio