Xamarin error on visual studio - xamarin

I install xamarin on my visual studio and when i want to create a blank app project it gives error :Object refrence not set to an instance of an object.
this is out put:
enter image description here

Looks like you didn't install the (right) Android SDKs.
Go into Tools > Options and find the 'Xamarin' page. Then go into 'Android Settings' and check if the SDK path is found.
If these aren't filled correctly you should install them. Easiest is to download the installer from Xamarin or reinstall from Visual Studio (through add/remove applications and edit Visual Studio installation).
You can install and manage seperate SDKs by using the Android SDK manager. You can find this under Tools > Android > Android SDK manager.
In the next screen you can install the SDKs you want to use with the according emulator images, etc.

Related

object reference not set to an instance of an object upon creating a new Android project

I get this when I want to create a new Android project.
Make sure Android Studio is not installed on your computer. If it is, uninstall it and run the Visual Studio installer again until all Android SDK errors go away.
Make sure Visual Studio is closed and install the most recent stable version of Xamarin for Visual Studio . I found it here: https://store.xamarin.com/account/my/subscription/downloads. (Trying to install it through VS didn't work for me under Tools -> Android -> Settings -> Xamarin for Visual Studio Updates.)
Make sure you have Java SDK version 7 installed on your machine. You also must use the 32-bit version even if you have a 64-bit machine. This was key!
Install the Android SDK. Standalone version, not Android Studio + Android SDK.
Install the Android NDK.
Restart your computer and open Visual Studio. Go to Tools -> Android -> Settings and set the correct paths to Android SDK, NDK and Java SDK.
You should be good to go with creating a new project.

installing Xamarin on visual studio 2015

enter image description here
error for installing Xamarin.Android Api Level not installed successfully.
Can any one tell me how to troubleshoot this error? Is there any way that I can install them explicitly?
You can install the missing packages via Android SDK Manager. The manager can be opened from Visual Studio's top menu: Tools > Android > Android SDK Manager.
Within the manager, you can select the missing build tools and emulator images that you want to install.
Here's a good overview on the tool

Can't create a project with Xamarin on Visual Studio

I'm having a problem with running the ios .cspoj file, when i want to start new project for iOS devices I get error that i have to install Xamarin. I have installed Xamarin program and still says that i need to install Xamarin for start ios project. I don't know what to do so i hope you guys can help me fix the problem.
Here is image of the problem
You said that you installed the "Xamarin program", but what exactly did you install? I cannot tell from your screenshot if you are using Visual Studio 2013 or Visual Studio 2015, but...
If you are using Visual Studio 2013, you will need to use the Xamarin Universal Installer(Just input your information and the file will be available to download).
If you are using Visual Studio 2015, then you can install Xamarin directly from within the Visual Studio 2015 installer window. Using Microsoft's guide from here you can:
...open Control Panel > Programs and Features, choose the Visual Studio 2015 item, and click Change. When the installer opens, click Modify
Check the following boxes:
Cross-Platform Mobile Development > C#/.NET (Xamarin)
For Windows 8+: Cross-Platform Mobile Development > Microsoft Visual Studio Emulator for Android
(Optional) If you plan on targeting Windows devices, also check Windows and Web Development > Universal Windows App Development Tools and/or Windows 8.1 and Windows Phone 8.0/8.1 Tools
Click the Install button
Once installation is complete... check for Xamarin updates through Tools > Options > Xamarin or Tools > Options > Xamarin > Other, where you’ll find a Check Now

why next button is disabled in xamarin studio?

I installed the xamarin studio and next button is disabled when I want to create a new project.
What should I do?
next button is disabled:-
To hit the 'next' button you will have to have an Android SDK installed so you can check the box next to the Android Target Platform.
I believe Xamarin Studio installs with the Android SDK Manager installed, try searching for it on your computer (SDK Manager). Once you install at least 1 SDK in the manager you should be able to hit next.
its picture of android sdk manager in program files & other android sdk manager when I clicked open android sdk manager in visual studio 2015.
image of android sdk manager

error in running a app in visual studio

firstly I installed visual studio 2015 community. at the end of the installation the android sdk, ios and xamarin studio didn't downloaded correctly Message appeared.
then i was having an offline setup of xamarin studio only so i installed that successfully.
after that i created a new project by FILE->new project-> visual c# -> android ->blank app on visual studio.
now when i RUN it, there are many errors like :
Xamarin.Android for Visual Studio requires Android SDK. Please set Android SDK path on Tools->Options->Xamarin->Android Settings menu.
Since i installed only XAMARIN studio not android sdk, so can i install android sdk again externally just like i installed xamarin studio and if YES then How?
Try Update All the SDK because your project may required higher SDK to build
In Xamarin Studio, Open Tools--->Open Android SDK Manager----->Then install what is missing

Resources