How to Use Ms Visual Studio for Android Development

Android development: Visual Studio + Java. Is it possible (worth a try)?

Simply write them in Java using Eclipse. VS is not optimized for Java and Eclise has a larger ecosystem of useful plug-ins. Using VS for Android development is like designing a web-site with assembler: It is simply not made for that :).

You are asking whether it is worth a try. Well "a try" compared to what? Are you currently developing apps using other IDEs or have you never developed android apps and you only know VS and want to try it there?

If you already use other IDEs keep those. If this is your first android project, using Eclipse is easier, as written above.

porting program created in visual studio using windows 10 uwp to android or ios

I have to say that's impossible, currently there is not such tool or program to convert UWP to IOS or Android app directly, For developing cross-platform app within .NET, you could refer to Xamarin Forms. Xamarin.Forms is an open source cross-platform framework from Microsoft for building iOS, Android, & Windows apps with .NET from a single shared codebase.

Is it possible to develop Android apps with visual studio 2010

Unless they've removed the ability to launch external tools from recent versions of visual studio, you should be able to use it as an editor for java code and launch an ant build script from it. You might even be able to pipe stderr back through some sed scripts that would put the errors in a form that would make them clickable.

Perhaps that isn't how you want to use it, but then you didn't specify what language or development method you wanted to use, only that you wanted to employ visual studio.

Multi-platform development: use recent Visual Studio with older version of Android

Go with option 2 & update your build and development environment fully to VS2019 with latest Xamarin! The implementation should not bug any older OS.

Even if it does add bugs, just test your code in QA. As for production, you can place good crash analytics on your app, and you ll be able to catch, report and fix any bugs.

For the most part, on Android the number of users using below Android 4.4 is less than 0.001% of all users. At that point, it makes more sense to implement Accessibility in your app, since that affects 1000x more users.

Android application Development in Visual Studio with C#

Android sdk with eclipse might be a better combo I guess. C# and Visual Studio are better suited for Windows phone.

Can Android Studio and Visual Studio safely share the same Android SDK?

Can Android Studio and Visual Studio safely share the same Android SDK?

The answer is Yes, I have done this for a long time and it works fine.

enter image description here

In Visual Studio, Xamarin Android SDK default location is:

C:\Program Files (x86)\Android\android-sdk

C:\ProgramData\Microsoft\AndroidNDK64

In Android Studio, SDK default location is:

C:\Users\username\AppData\Local\Android\Sdk

C:\Users\username\AppData\Local\Android\Sdk\ndk-bundle

Use Visual Studio Android SDK only

You could refer to my answer:

  1. Open Android Studio, go to File -> Project Structure

  2. Change the SDK location to your Visual Studio SDK Location

    • a. Change it to Xamarin Android SDK Location: C:\Program Files (x86)\Android\android-sdk
    • b. There is a problem when you change the SDK Location: cannot contain whitespace. You could open CMD as Administrator and type: mklink /J C:\Program-Files-(x86) "C:\Program Files (x86)", like this.
    • c. Then you could change the SDK Location, effect.

Use Android Studio Android SDK only

You just need change Xamarin Android settings as the above picture. You could find it in:

Tools -> Options -> Xamarin -> Android Setting

It is that new visual studio specific sdk manager I'm worried about.

As @Muhammad said, it won’t broke anything.



Related Topics



Leave a reply



Submit