Reference Links: https://testerhome.com/topics/12277
Basic environmental things need to be prepared:
- JDK installation and environment configuration; (1.8)
- Node.js installation and environment configuration; (8+)
- android SDK installation and environment configuration; (25+)
- gradle installation and environment configuration;
installation:
1. JDK
2. node.js
After the installation is complete "node -v" test
3. Install gradle
Links: https://gradle.org/releases/
Once downloaded, unzip directly to the destination folder, and then configure the environment variables:
Add [GRADLE_HOME] in [System variables] in C: \ Gradle \ gradle-4.6 (you gradle root directory)
add [path] in [System variables] in % GRADLE_HOME% \ bin; (your gradle extract the bin directory folder)
4. Installation macaca
1) cnpm i macaca-cli -g // npm substantially difficult to succeed 2) macaca doctor // check macaca environment 3) to install the driver according to need CNPM I macaca-iOS -g CNPM I-macaca Android -g