VS 2015 Pro cannot detect Android SDK - visual-studio-cordova

Just installed all the components for Cross Platform Development.
However, when I tried to check on Tools | Options | Tools For Apache Cordova | Environment Variable Overirrides, VS did not detect my ADT_HOME.
That gives me an error of
"Android SDK The software is missing from your system. You may also have to configure it after installation" when I click Run Dependency Checker.
I already tried the following.
Repair the installation.
Uninstall VS 2015 completely and reinstalling all the features.
Manually overriding the ADT_HOME where the Android SDK is installed and when I did that, I got the error "The software is missing from your system. You may also have to configure it after installation"
Thanks for your help.

Related

Windows App Certification Kit "The selection criteria did not match any tests"

I am preparing my app for upload to the MS Store and am running into problems with the Windows App Certification Kit. Nearly every test performed by the kit produces the exact same FAILED test result as follows:
"The selection criteria did not match any tests.
No test cases were executed."
My app is a Windows Forms app that was packaged using the "Windows Application Packaging Project" in Visual Studio 2017 (i.e. using the latest iteration of the MS "Desktop Bridge").
I should also add that I was able to successfully install the app bundle (.appxbundle) by loading the temporary cert and double clicking on the appxbundle so I know the UWP install works perfectly.
Any ideas on how to fix issue?
Thanks!
I found the solution to my problem! It appeared to me based upon the test result text that the Windows App Certification Kit was simply failing to run any tests at all...so I decided to uninstall then reinstall the Windows Software Development Kit (which includes the Windows App Cert Kit among other things). After reinstall the Windows App Cert Kit ran correctly!...AND MY APP PASSED EVERY SINGLE TEST!!! YES!!!
Anyhow, if you experience the same problem as me, you now have the solution to your issue...uninstall then reinstall the Windows Software Development Kit.

Visual Studio 2017 Installation of "ASP.NET and web development"

I've downloaded Visual Studio with --layout option, and installed it.
Installation was successful with warning, as below,
The product failed to install the listed workloads and components due to one or more package failures.
Incomplete workloads
.NET Core cross-platform development (Microsoft.VisualStudio.Workload.NetCoreTools,version=15.0.26208.0)
ASP.NET and web development (Microsoft.VisualStudio.Workload.NetWeb,version=15.0.26208.0)
Azure development (Microsoft.VisualStudio.Workload.Azure,version=15.0.26208.0)
Mobile development with JavaScript (Microsoft.VisualStudio.Workload.WebCrossPlat,version=15.0.26208.0)
Node.js development (Microsoft.VisualStudio.Workload.Node,version=15.0.26208.0)
Incomplete components
.NET Core 1.0 - 1.1 development tools (Microsoft.NetCore.ComponentGroup.Web,version=15.0.26208.0)
.NET Core 1.0.1 development tools (Microsoft.Net.Core.Component.SDK,version=15.0.26208.0)
Container development tools (Microsoft.VisualStudio.Component.DockerTools,version=15.0.26208.0)
Git for Windows (Microsoft.VisualStudio.Component.Git,version=15.0.26208.0)
Visual Studio Emulator for Android (Component.Android.Emulator,version=15.0.26208.0)
There errors were listed in log file.
Every time I modify the Installer and try to install web components, doesn't work.
I've tried to restart computer, restart the installer.
Nothing works.
After some digging,
I found a solution.
Try to install Visual Studio with setting temp and %temp% folder to short path, like d:\temp.
Step 1 : open cmd with administrator privileges (to ignore administrative privileges error).
Step 2 : execute command - set tmp="d:\temp"
Step 3 : execute command - set temp="d:\temp"
Step 4 : execute vs_community.exe with whatever --layout option you want.

Visual Studio 2015 Community version

there is a problem.
I've instaled VS 2015 Community version. I wanted to open the project from another computer and there is a problem with it.
Error:
1. Could not find SDK "SQLite.WP81, Version=3.12.2".
Warnings:
1. The referenced component 'SQLite for Windows Phone 8.1' could not be found.
2. Warning IDE0006 Error encountered while loading the project. Some project features, such as full solution analysis for the failed
project and projects that depend on it, have been disabled.
What should I do to work on this project on this computer ? How can I download missing SDK ?
P.s. Im going to work on widnows Phone application.
Thx for help!
Your project is missing SQLite For Windows Phone 8.1 library. Download an updated version of SQLite.WP8.1 here https://visualstudiogallery.msdn.microsoft.com/5d97faf6-39e3-4048-a0bc-adde2af75d1b.
Install it and relaunch Visual Studio.
Further information, including complete documentation, may be found at the official web site "http://www.sqlite.org/".

Visual Studio Tools for Apache Cordova : Update NPM and NodeJS

Hi I installed Visual Studio Tools for Apache Cordova during the winter. I have now worked on an angular project which has npm dependancies, and gulp files which use a Node server to serve pages to test out the app.
I did however like the way VS.Net installed NodeJS and other tools during the Visual Studio Tools for Apache Cordova installation, adding the correct paths to my system to get great CMD support for git, npm etc.
I want to continue to develop Cordova apps using Visual STudio, especially using the Mac remote deployment node module that was installed. However I find that the version of NodeJS and NPM that was installed is now out of date. I got a warning about version numbers when I installed the Azure-cli node package.
What is the best way to update NodeJS and NPM versions so that they stay integrated with Visual Studio Tools for Apache Cordova
There is no specific limitation for updating nodejs, but please be aware of some known issue related to newer version of nodejs. Just make sure you will not run into these scenarios, and I think you can feel free to update.
If you do encounter any issue after you update the nodejs to a specific version, I think it's good to raise the issue and let MS VS team to fix it in future release.
And make sure the nodejs is added into your PATH system environment varaibles.

Third party software already installed

Im trying to install Tools for Apache Cordova for Visual Studio. In the first step I need to choose which third party dep. to install.
But Ive already installed most of them and already developing on this machine using cordova/node commandline-tools.
Do I need to reinstall all dependencies again? or just some (if yes, which ones?)
The installer for Tools for Apache Cordova automatically detects which software are already present on the machine. Depending whether you are installing for Visual Studio 2013 or 2015, the experience may seem a little different.
After install completes, all required tools will also be configured as expected. It is best to run the installer once to ensure that there are no incompatibilities, but rest assured, it will not re-install existing compatible software.
It is good to let Tools for Apache Cordova for Visual Studio install the 3rd party software because it will install and also configure the machine. If you want to install just the missing software manually then refer the list of dependencies here under Install dependencies manually section and accordingly install the required software and configure the machine.

Resources