
Development issue/problem:
Can you use Visual Studio for Android development?
If so, how do you install the Android SDK instead of the .NET framework and are there any special settings or configurations?
How can this problem be solved?
Decision No 1:
Yes, you can use Visual Studio for Android (native) with vs-android.
Here are the steps to set it up:
- Download the Android SDK here
- Download Android NDK here.
- Download Sigwin here.
- Download the JDK here.
- Download here Visual Studio 2010, 2012 or 2013
- Download here vs-android
- Download Apache Ant here.
- Define environmental variables :
(Control Panel > System > Advanced > Media Variables)
ANDROID_HOME = android-sdk
ANDROID_NDK_ROOT = android-ndk
ANT_HOME = apache-ant
JAVA_HOME = jdk
_JAVA_OPTIONS = -Xms256m -Xmx512m
- Download examples here.
He works as a charmer… and it’s best to use him so far.
Decision No 2:
Yes, you can:
If you can’t find the tools. If you want C:Program Files (x86) to contain Javajre6libtools.jar, you can add an environment variable JAVA_HOME pointing to Java JDK, e.g. c:sdksglassfish3jdk (restart MSVC afterwards).
An even better solution is to use WinGDB Mobile Edition in Visual Studio: Allows you to create and debug Android projects in Visual Studio:
http://ian-ni-lewis.blogspot.com/2011/01/its-like-coming-home-again.html
Download WinGDC for Android from
http://www.wingdb.com/wgMobileEdition.htm.
Decision No 3:
Believe me, I have tried so hard to find a reasonable IDE for the development of Android, but I have failed. I’ve been using Visual Studio for many years and it’s very hard to get used to how Eclipse works.
However, the new IntelliJ supports development for Android, which is the best you can get.
Decision No 4:
If you want to create HTML5 hybrid applications (web applications packaged in a native container that provides access to the device’s functionality), the Nomad Visual Studio extension supports the creation of Android devices.
Decision No 5:
According to the Android documentation:
The recommended way to develop an application for Android is to use Eclipse with the ADT plugin . However, if you prefer to develop your application in another IDE like IntelliJ or a simple editor like Emacs, you can do so.
There are currently plug-ins for IntelliJ IDEA and NetBeans, but you can still use the tools in /tools to create, debug, monitor, measure and run the emulator.
Decision No 6:
A lot has changed since the question was asked. Visual Studio 2013 with Update 4 and Visual Studio 2015 now have built-in tools for Apache Cordova, and you can run them on the Visual Studio for Android emulator.
Decision No 7:
Microsoft Visual Studio 2015 now has Android : C++, Cordova and C# with Xamarin. When you choose one of these Android development options, Visual Studio also installs a brand new Visual Studio Emulator for Android that serves as a target for debugging your application. You can also download the emulator without installing Visual Studio. More information can be found under
Visuals Studio 2015
https://www.visualstudio.com/en-us/downloads/visual-studio-2015-downloads-vs
Visual Studio
Emulator https://www.visualstudio.com/en-us/features/msft-android-emulator-vs.aspx.
Video with the functions of https://channel9.msdn.com/Events/Visual-Studio/Visual-Studio-2015-Final-Release-Event/Visual-Studio-Emulator-for-Android
Java Extension for Visuals Studio 2012, 2013. 2015
https://visualstudiogallery.msdn.microsoft.com/bc561769-36ff-4a40-9504-e266e8706f93
Decision No 8:
It depends on what you really want to achieve.
Still want to make a regular Java application for Android, but want to use Visual Studio for development? So this is bad news, because Visual Studio does not have built-in Java support. So, if you use it as it is, you lose all the Java-specific features of Eclipse (IntelliSense for Java, Java debugger, wizards, etc.) and many Android plugins (which are specific to Eclipse and do not work with VS).
On the other hand, you can use Mono for Android to develop C# applications in US, but they won’t be as smooth as native applications (some features may be missing, look a bit different, etc.) In this case, such an application can sell less than a normal Java application that looks and feels like any other Java application.
If you are talking about your own Android code (in C/C++), for example games, the news is not so bad. Since Visual Studio has no problem with C++, there are many ways to make it work:
- If you only want to compile your code, you can use the free vs-android toolkit. It’s actually a set of building rules that tell Visual Studio how to make the Android compiler work.
- If you want to compile and debug your own code with Visual Studio, you need something more advanced, like B. VisualGDB for Android. It can create/debug your native code itself or in combination with debugging Eclipse’s Java code.
Decision No 9:
I know this Q is pretty old, but I could use it:
http://blogs.nvidia.com/2013/02/nvidia-introduces-nsight-tegra-to-assist-android-developers/
Decision No 10:
You can also use VS for Android development, as the IDE is nothing more than a fancy word processor with command line tool shortcuts, allowing you to use the most popular IDEs.
However, if you want to develop fully in native mode without any restrictions, you will have all kinds of problems, such as file system insensitivity and lack of libraries on the Windows platform.
If you try to build Windows mobile applications on the Linux platform, you will have bigger problems than the other way around, but it is always a good idea to use Linux with Eclipse for Android OS.
Good luck!
Related Tags:
visual studio android c++,visual studio code on android,xamarin android getting started,android apps with xamarin,visual studio 2017 android hello world,how to run visual basic program in android,visual studio app download,visual studio c++ android app tutorial,what can you say about the code in c#,visual studio 2019 xamarin download,android studio vs visual studio,google android emulator,emulator android for vscode,visual studio code start emulator,vs code add android device,ios emulator extension,android and ios emulator,xamarin c# tutorial for beginners,visual studio code android tutorial,xamarin mobile app development,xamarin android project structure,can you develop android apps in visual studio,xamarin android application class example,setup visual studio code for android,vscode android ndk,vscode debug android emulator,what is flutter,xamarin,why xamarin is bad,xamarin pricing,what is xamarin insights?,is xamarin dead,xamarin 2020,an activity in android can be launched using,android studio vs visual studio code,android studio vs visual studio xamarin,android studio cross platform,companies that use android studio,vsc vs android studio for flutter,java vs c# for android development,visual studio 2019 android app tutorial,visual studio mobile app tutorial,visual studio code for android development,android studio,visual studio android app tutorial pdf,visual studio for android free download,visual studio for android tablet