I am able to archive the app using xamarin studio on Mac. But in Visual studio 2015 it is diabled. I have uninstalled and reinstalled whole VS2015 and xamarin. I am using windows 10 machine. Please help
I found the problem. I also noticed that tools->Anrdoid-> Android SDK manager was disabled too. Somehow Android sdk tools folder was empty. I copied the batch file and it works now.
Related
I have just installed Visual Studio 2017 in my Windows 10.
I got error in initializing the Toolbox and it keep hanging.
Is there something I can do with?
I have launched the VS 2017 with Administrator, but this doesn't resolved the issue.
I had the same issue. I uninstalled Azure stuff and Clang/C2 and Toolset for Visual 2015.3 v140 and Xamarin stuff and added Apache Ant. After that it worked. So some of the above seams to resolve the issue. I will not do further investigation, because for me it is OK without that stuff.
Had the same problem. I did have Xamarin installed but not Android SDK, because I had it already installed for various other tools.
Turns out this is caused by Xamarin trying to access Android SDK, which isnt there. Solution seems to be to either remove Xamarin or install Android SDK, according to development community forum.
Unfortunatly, installing Xamarin and going into Xamarin/Android Settings to point to existing Android SDK (without it) also seems to hang VS2017.
HOWEVER...
If you want to keep Xamarin and use your own Android SDK/NDK, what you can do is:
Lauch Visual Studio 2017 Installer
Install Xamarin and Android SDK (dont need to install NDK as well)
Launch Visual Studio 2017
Go into Tools / Options / Xamarin / Android Settings (It wont hang
now)
Point to your existing Andoid SDK / NDK and Java runtime you want to
use
Close VS2017
Go back to Visual Studio Installer
Uninstall Android SDK
Before that I tried to define an ANDROID_HOME environment variable and tried to set the paths in registry, neither of those helped. This fixed the problem for me.
I tried all the voodoo solutions, removed every extension (xamarin included) and every package except the core .net and C# VS, which I updated to the latest version available v15.9.30. Same problem.
The solution for me was to uninstall an office plugin/tool from a previous visual studio.
The problem app was "Microsoft Visual Studio 2010 Tools For Office Runtime (x64)". After I uninstalled it, the problem was gone.
I have tried uninstalling Xamarin, and reinstalling Visual Studio 2015, and it keeps failing.
this below
results in this
Is there anywhere I can grab that missing package directly. I have the Visual Studio installer downloading the packages from the internet. If I can install that package manually (aka, an MSI), then I believe it should be ok. Xamarin (as part of Visual Studio) won't install until this ancient SDK installs.
I also tried Xamarins' installer, but it never shows up in Visual Studio 2015, likely because of this dependency failing.
Some other things I have tried :
Common issues in Visual Studio 2015 setup
StackOverflow: Install Xamarin on Visual Studio 2015
Xamarin: Installing Xamarin on Windows
Uninstalling Xamarin
try to open the SDK Manger from your PC ( as an administrator ) and install the missing packages
Actually android sdk is failing to download, maybe because of slow or unstable internet connection or the download path which xamarin is using is available anymore.
Go to- http://www.xamarin.com/download and get a separate xamarin installer for your visual studio and install from it.
If it again don't fails to install android sdk then go to https://developer.android.com/studio/index.html and download sdk separately, remember the sdk's install path, you can configure visual studio later.
I have Xamarin installed on the Visual Studio 2013 on Windows Operating System. It works fine.
There is Xamarin tools in VS2013 as follows:
My problem is as follows:
I have recently installed Visual Studio 2015 on my desktop on Windows operating system. I thought when I opened the VS2015, I expected to see the Xamarin in it, but it does not. Then I installed the Xamarin again, and again and again, but still Xamarin does not show up in VS2015.
I wonder what is wrong? What am I missing?
By the way, I still have VS2013 on my desktop.
No Xamarin tools in VS 2015 as follows:
I even tried the following approach, still no luck.
Control Panel -> Programs -> Programs and Features Choose Xamarin
Click Change -> Next -> Click the desired drop down for each items in the tree view and select "Will be installed on local hard drive."
Click Next
I am even getting the following screen when installation is completed, but still I could not able to see Xamarin in VS2015.
I have installed Xamarin in my Visual Studio 2015 two days ago and it showing Xamarin under Tools. Below I have described the approach which I have followed to install Xamarin in Visual Studio 2015.
Go to Contol Panel >> Program Features >> Visual Studio
2015 >> Change>> Modify
1. Select C#/.Net(Xamarin) under Cross Platform Mobile Development
2. Check if these three red marked items are checked or not.
3. And then press update.It will download all the required packages to run Xamarin on VS 2015.Hope it helps you!!
I recently had horrendous problems trying to install Xamarin on VS2015 + Win10. (I don't have any other VS versions installed.) Even a full install and reinstall left huge holes in the installation. I tried repeatedly and each time the whole dev environment seemed to get itself in a different unusable state.
The fix for me, which is probably hitting a nut with a sledgehammer, was to:
Uninstall Xamarin (via Control Panel|Uninstall).
Uninstall Visual Studio (via Control Panel|Uninstall).
Follow Xamarin's manual uninstallation procedures Full Xamarin Uninstall.
Perform full reinstall of Visual Studio, being sure to tick the boxes shown in the answer by Parth Patel above.
This resulted in a faultless, fully functioning Xamarin environment for me. Overkill, maybe, but worth a go if all else fails.
Here is the solution:
I have deleted all the existing versions of visual studio ( 2010, 2012, 2013) except Visual Studio 2015 and then installed the Xamarin, and then I could able to see Xamarin on Visual Studio 2015.
It is not required to delete previous versions of VS. I have Xamarin Studio, VS 2013 and now VS 2015 and working perfectly. I moved to VS 2015 due to recent purchase of Xamarin by MS and that VS 2015 has Xamarin included.
I believe the issue with this question is was that your VS 2015 install did not include the add ins as pointed out in another answer in this question.
After the VS 2015 install -the only caveat was projects created initially in Xaramin Studio and then Opened in VS 2015 to needed to have the build configuration in the project tweaked. If not you could not get the project to build and then be deployed to an emulator or device for debug testing.
We have a few troubleshooting steps on our Knowledge Base that you can find here:
https://kb.xamarin.com/customer/en/portal/articles/1643349-missing-visual-studio-extensions-after-installation
Note: Some of these steps have older versions listed in the respective paths. You should use the latest version number available.
Before any install or uninstall actions. Try open some sample Xamarin project, in most cases during opening project in VS 15, it will show you, what needs to be installed or what is missing / corrupted.
Xamarin samples
I had some problems with my emulator best way to fix the problems is to uninstall everything (emulators, android sdk, vs, xamarin) and reinstall it.
It is also important to delete other or older versions of visual studio. Then you should probably see you options.
First try to uninstall all the other versions of Visual Studio (VS) 2013 in this case. Then try to reinstall Xamarin.
Visual Studio 2015 is little bit different from 2013 version, I am also using xamarin on visual studio 2015. But that is not listed under tools menu like 2013.
Maybe developers had changed that, you can go to "start a new project"(just like you start new app development), there you can find xamarin/android projects list, there you can start new android projects.
This is strange, I did not have any problem with Xamarin & VS 2015 (community).
You said,
I will see the Xamarin in it
Did you try to create a project or/and add your account in the new VS Installation ?
I'm on the latest version of Visual Studio 2015 Community (14.0.24720.00 Update 1) on Windows 10. I'm currently developing a Cordova App for Windows 10, iOS and Android using the Visual Studio Tools.
When I right click on the Project, then go Store > Associate App with the Store, I can successfully log in, see my existing apps and select the one I want, but when I try to actually associate that app with my VS project, VS just crashes.
I've already tried repairing Visual Studio through Add or Remove Programs and also cleaning out my project/solution, but none of this worked.
Any advice?
Thanks!
I had the same issue. Apparently, this is a known problem with VS2015 Update 1 (with the latest Cordova tools support).
The current workaround is to choose "Create App Packages" instead of "Associate App with the store." When you do this, the proper association will be generated and you can test as usual. I was successful using this approach.
The fix in Visual Studio 2015 for this crash is now available in Visual Studio 2015 Update 2. Here's a link to the installer: http://go.microsoft.com/fwlink/?LinkId=691129
So I'm trying to do what I think is a very simple thing: generate a Windows Phone app with PhoneGap and open it in Visual Studio. On a totally fresh Windows installation (via Bootcamp), I've:
Downloaded Visual Studio Express 2013 for Windows (the very first download button: http://developer.windowsphone.com/en-us/downloadsdk)
Created a PhoneGap Windows Phone app per the Getting Started guide.
However, every time I try to open the csproj file, I keep getting this error:
Unsupported
This version of Visual Studio is unable to open the following projects. The project types may not be installed or this version of Visual Studio may not support them.
For more information on enabling these project types or otherwise migrating your assets, please see the details in the "Migration Report" displayed after clicking OK.
- HelloWorld, "C:\BodBot\BodBot-PG\BodBot\platforms\wp8\HelloWorld.csproj"
No changes required
These projects can be opened in Visual Studio 2013, Visual Studio 2012, and Visual Studio 2010 SP1 without changing them.
- HelloWorld, "C:\BodBot\BodBot-PG\BodBot\platforms\wp8\HelloWorld.sln"
No matter what I do. It works totally fine on Visual Studio 2012 for Windows Phone. I've tried it on VS 2013 for Desktop, and that doesn't work either. No clue what is happening here, and don't know even where to start to figure out what's wrong. I've Googled extensively to no avail; basically all instances of this error seem to have to do with previous version of VS. Pointing in any direction would be very much appreciated.
Turns out Update 2 wasn't getting installed correctly. I ended up installing Visual Studio and the Update 2 separately and Update 2 got installed successfully. Everything works now.
To build Multi device hybrid (Cordova tooling) apps with Visual Studio, you need to have Visual Studio 2013 Update 2 - Professional, Ultimate, or Premium.
Visual Studio 2013 Update 2: Global Apps e Android/iOS App