How to setup Android, iOS and Visual Studio with Xamarin Studio? - c#

I'm new to stack overflow as well as new to Xamarin Studio. I recently downloaded and installed XamarinInstaller which installed Andriod SDK, JAVA SDK, Xamarin Studio and Xamarin for Visual Studio [At that time of installation Visual Studio was not installed] on my system and after that it asked me to install NET Framework 4.5.1 and GTK# for .NET which I did. After all this i installed Visual Studio 2012 Ultimate and when i opened and checked Xamarin Studio i couldn't code for Android it gives me some error and also on Visual Studio whenever i try to start a new project i can't find andriod or ios on it.
How to setup Android and ios on Xamarin Studio?
How to link Xamarin on Visual Studio?
How to setup Android and iOS on Visual Studio?

Related

Visual Studio Creating Android project Error

I am new on Xamarin visual studio and I want to develop an android project but I got this error " Object reference not set to an instance of an object"
Actually, I see the error JUST for the C# project and JUST for Android!
I can create the project for IOS and Android under F# project!! but For C# Android I got the error.
I have installed Android SDK and JDK and it shows a green check on the Android setting.
I use visual studio 2012, I tried to reinstall both Xamarin and VIStudio but the error remains.
would you help me, thanks?
EDIT
I installed Visual Studio 2017 and it works fine.
Xamarin doesn't support older versions of VS anymore. The recommendation is to use Visual Studio 2015 or 2017 currently:
Xamarin for Visual Studio supports any Visual Studio 2015 or 2017 (Community, Professional, and Enterprise) and non-Express editions of Visual Studio 2013 Update 2.
https://developer.xamarin.com/guides/cross-platform/getting_started/requirements/#Windows_Requirements

inside visual studio there is no files for ios in cross plate forms. error displaying (incompatible)

Please help me
i have installed Xamarin in visual studio 2015 community. But when i want to work in cross plate forms it displays error "Ios failed" and in solution explorer there is message with ios files (ios incompatible)
please help me how to fix it
Since you mentioned Visual Studio and iOS but no Mac I guess you problem is the Mac.
If you want to make an iOS App in Visual Studio and Xamarin forms you will need a Mac. Visual Studio will use it as a Xamarin Mac Agent. Visual Studio sends the "Code" to the Mac and the Mac will create the iOS App for you.

no xamarin.forms BlankApp in visual studio 2017

I have just installed Visual Studio 2017 community addition. Furthermore, i have installed Xamarin Community edition. Initially i thought i would have to use Xamarin Studio in order to create cross platform apps. But later on, i figured it out from the internet that Xamarin Studio is only installed in MAC OS. In windows, Xamarin is installed in form of Visual Studio's extension instead. After completely installing Xamarin on my Windows 10, i opened Visual Studio and i didn't saw "BlankApp (Xamarin.Forms Portable)" under Visual C#/Cross-Platform tab. Instead there were only couple of Class Libraries and a UI Test App there.
How can i figure out the way to create Xamarin Cross-Platform on my visual studio 2017 community edition? Am i missing some extensions, or is there any update required ? Please help.
File > New > Project > Installed > Templates > Visual C# > Cross-Platform
Select Cross-Platform
Select Cross Platform App (Xamarin.Forms or Native)
New App Dialog Opens
For template select "Blank App"
For Code Sharing Strategy Select "Portable Class Library (PCL)"
Click OK, and you are good to go
Please, try this site in section "Creating your first app".
More information in:
http://motzcod.es/post/158155898027/setting-up-vs-2017-for-xamarin-dev
THIS IS NOT A DIRECT ANSWER, I tried lots of options from installing, uninstalling, modifying but I can't find "bank app xamarin forms".
SO WHAT I DID, Installed visual studio 2015 and found "that bank app xamarin forms" there.

Already have Android SDK installed, xamarin for visual studio 2017 is downloading it again

I already have installed android SDK latest version installed, but yesterday when I installed Visual Studio 2017 RC with xamarin mobile development component, it is again downloading android sdk. I want to install xamarin with visual studio, so that I can learn mobile mobile developement with other languages like c sharp. But I want everything installed in a simple way and with less data consumption. Is there any I can install xamarin with visual studio 2017, so I dont again have to download android sdk.

execute windows code in Visual studio 2015 with xamarin plugin

I am using the xamarin platform.
I have source code which is developed in C# for Windows develop in Visual Studio 2013
I have Visual Studio 2015 (Profession) in my system 1st time.
Want to check my windows code is compatible to xamarin plugin supported by visualstudio 2015 or not.
Note: I know that Visual studio 2015 have facilitate with the xamarin.
Reason: I want to reuse code develop in C# for Windows in xamarin so that I can reuse the code & develop the ios & Android application utilising xamarin in Visual Studio.
How do I perform this?
You can absolutely reuse your existing C# code with Xamarin project. However, you will need to recompile the code to target Xamarin profiler, unless you're using Portable Class libraries
You can read more about code sharing options here: https://developer.xamarin.com/guides/cross-platform/application_fundamentals/building_cross_platform_applications/sharing_code_options/

Categories