Closed douniwan5788 closed 4 years ago
@douniwan5788 有兴趣欢迎提PR啊,macaca-doctor
和gradle
这两个npm包都是macaca生态里的。
https://github.com/macacajs/gradle/blob/master/lib/gradle.js
https://github.com/macacajs/macaca-doctor/blob/master/lib/android.js
This is the translated issue comment: @paradite
@douniwan5788 Interested in welcoming PR, the two npm packages macaca-doctor
and gradle
are all in the macaca ecosystem.
Https://github.com/macacajs/gradle/blob/master/lib/gradle.js
Https://github.com/macacajs/macaca-doctor/blob/master/lib/android.js
@douniwan5788 欢迎·pull request
This is the translated issue comment: @xudafeng
@douniwan5788 Welcome·pull request
macaca-doctor version: 2.0.16
Node.js checklist:
node env: C:\Program Files\nodejs\node.exe node version: v10.15.3
Android checklist:
JAVA version is
1.8
JAVA_HOME is set toC:\Program Files\Java\jdk1.8.0_162
ANDROID_HOME is set toD:\Users\***\AppData\Local\Android\android-sdk
Platforms is set toD:\Users\***\AppData\Local\Android\android-sdk\platforms\android-28
ADB tool is set toD:\Users\***\AppData\Local\Android\android-sdk\platform-tools\adb.exe
GRADLE_HOME is set toD:\Program Files\Android\Android Studio\gradle\gradle-5.1.1
Installed driver list:
android: 2.1.0 location: F:\tmp\sample-nodejs\node_modules\macaca-android
chrome: 1.1.0 location: F:\tmp\sample-nodejs\node_modules\macaca-chrome
electron: 3.0.2 location: F:\tmp\sample-nodejs\node_modules\macaca-electron
ios: 2.0.35 location: F:\tmp\sample-nodejs\node_modules\macaca-ios
puppeteer: 1.0.2 location: F:\tmp\sample-nodejs\node_modules\macaca-puppeteer
const checkEnv = options => { return new Promise((resolve, reject) => {
}); };
const gradleBuild = options => { return new Promise((resolve, reject) => { var cwd = path.resolve(options.cwd);
}); };
F:\tmp\sample-nodejs>npm i macaca-android -g npm WARN deprecated tough-cookie@2.2.2: ReDoS vulnerability parsing Set-Cookie https://nodesecurity.io/advisories/130 npm WARN deprecated hawk@3.1.3: This version has been deprecated. Please upgrade to the latest version to get the best features, bug fixes, and securi ty patches. npm WARN deprecated node-uuid@1.4.8: Use uuid module instead npm WARN deprecated boom@2.10.1: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for old er versions (hapi.im/commercial). npm WARN deprecated sntp@1.0.9: This module moved to @hapi/sntp. Please make sure to switch over as this distribution is no longer supported and may c ontain bugs and critical security issues. npm WARN deprecated cryptiles@2.0.5: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial). npm WARN deprecated hoek@2.16.3: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for old er versions (hapi.im/commercial).