环境变量(gradle sdk jdk)

public class Test{
    public static void main(String[] args){
        System.out.println("Hello World.");

    }

}

JAVA_HOME =》jdk
path =》 “%JAVA_HOME%\bin” 和 “%JAVA_HOME%\jre\bin”

CLASS_PATH =》.;%JAVA_HOME%\lib;%JAVA_HOME%\lib\tools.jar

========================================
Android_HOME => sdk
path => “%ANDROID_HOME%\platform-tools” 和 “%ANDROID_HOME%\tools”

===============
GRADLE_HOME => gradle
path => %GRADLE_HOME%\bin”

================
system32
================
cordova requirement
==============
npm view —
============
sdk manager

==============================
npm config set sass_binary_site https://npm.taobao.org/mirrors/node-sass/

网络问题 设置从淘宝源安装nodesass(依赖)

===========================

    maven {
        url "https://maven.google.com"
    }
    jcenter()

buildscript {
repositories {
maven{ url ‘http://maven.aliyun.com/nexus/content/groups/public/’}
}
}

allprojects {
repositories {
maven{ url ‘http://maven.aliyun.com/nexus/content/groups/public/’}
}
}
====================================
npm install -g mirror-config-china –registry=http://registry.npm.taobao.org
npm install node-sass
npm 会寻找最近的node_modules =》 npm init =》 pakage.json
无权限则删除 再次。。。
=====================
……
package.json 托字符(大版本)
padding+boxsizing+flexspacebetween row column = 布局
给父元素加padding(设置了宽度的子元素不要加,boxsizing的原因)
=============

    原文作者:深度_1175
    原文地址: https://www.jianshu.com/p/da66a6fe9bd7
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞