1: Installation
VS2015 was installed today, try to develop under Cordova
Vs2015 installs very slowly, patiently waits.
Installation will prompt Android SDK installation failed
Domestic environment, no way.
We open the Android SDK Manager
Select Tools-options
Hanging in Agent ip:mirrors.opencas.cn
Port 80
Tick force https://to be fetched using/HTTP
Then reload
If the agent is still not working, recommend a website http://www.androiddevtools.cn/
Go here to download directly
2 Mac Machine Deployment
2.1 First install node. JS (installed to skip this step)
Download node. js
Address: https://nodejs.org/download/
Download it and install it directly.
2.2: Enable root account First
System settings-users and Groups-unlock-Login options-Join-Open Directory utility-unlock-top Toolbar "edit"-Enable root account
2.3 Installing NPM, Remotebuild, Ios-sim
Su Root
sudo npm install npm-g
sudo npm install remotebuild-g
sudo npm install [email protected]-G
2.4 Start Remotebuild
Remotebuild
If security settings are not required
The input
Remotebuild--secure False
Input
Get pin value
2.5 Input Ifconfig
Get IP Address
2.6 Open Visual Studio
Tools-Options-apache adova-Remote Agent configuration
Pin input 2.4 Gets the PIN value
Safe Mode set to True
Port defaults to 3000
Enable remote iOS processing as true
IP address acquired by host for 2.5
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Visual Studio Cordova Deployment